From: Jaroslav Kysela Date: Wed, 15 Oct 2014 08:26:14 +0000 (+0200) Subject: WEBUI JS: Add checkField initialization for LovCombo to avoid wrong sharing, fixes... X-Git-Tag: v4.1~1009 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f064cccc7984fded2e5f3b9a20889ec4e5e7c280;p=thirdparty%2Ftvheadend.git WEBUI JS: Add checkField initialization for LovCombo to avoid wrong sharing, fixes #2363 --- diff --git a/src/webui/static/app/idnode.js b/src/webui/static/app/idnode.js index cd0d58530..c2de573ef 100644 --- a/src/webui/static/app/idnode.js +++ b/src/webui/static/app/idnode.js @@ -346,8 +346,10 @@ tvheadend.IdNodeField = function(conf) /* ComboBox */ if (this.enum) { cons = Ext.form.ComboBox; - if (this.list) + if (this.list) { cons = Ext.ux.form.LovCombo; + c['checkField'] = 'checked_' + this.id; + } /* Combo settings */ c['mode'] = 'local'; @@ -499,6 +501,7 @@ tvheadend.idnode_editor_field = function(f, conf) mode: 'local', valueField: 'key', displayField: 'val', + checkField: 'checked_' + f.id, store: st, typeAhead: true, // TODO: this does strange things in multi forceSelection: false,