WEBUI JS: Add checkField initialization for LovCombo to avoid wrong sharing, fixes #2363
This commit is contained in:
parent
1159ba09bc
commit
f064cccc79
1 changed files with 4 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue