webui: stop multi select combo selecting the wrong thing

this was because it reverted to using the display string and doing
a reverse mapping. Which is clearly the wrong way to do things when you
can have multiple display fields for the same key value.
This commit is contained in:
Adam Sutton 2013-10-12 12:26:22 +01:00
parent d160e7425a
commit febd529cf7

View file

@ -176,6 +176,7 @@ Ext.ux.form.LovCombo = Ext.extend(Ext.form.ComboBox, {
*/
,onRealBlur:function() {
this.list.hide();
/*
var rv = this.getRawValue();
var rva = rv.split(this.separator);//new RegExp(RegExp.escape(this.separator) + '+'));
var va = [];
@ -190,6 +191,8 @@ Ext.ux.form.LovCombo = Ext.extend(Ext.form.ComboBox, {
}, this);
}, this);
this.setValue(va.join(this.separator));
*/
this.setValue(this.value);
this.store.clearFilter();
} // eo function onRealBlur
// }}}