mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Need to trigger chosen update for single selects too
This commit is contained in:
parent
bcd52bb375
commit
eaa0cb6fa0
@ -448,7 +448,7 @@ var et2_selectbox = et2_inputWidget.extend(
|
||||
{
|
||||
_value = _value.split(',');
|
||||
}
|
||||
if(this.options.tags)
|
||||
if(this.options.tags || this.options.search)
|
||||
{
|
||||
this.input.val(_value);
|
||||
this.input.trigger("liszt:updated");
|
||||
@ -642,6 +642,7 @@ var et2_selectbox = et2_inputWidget.extend(
|
||||
this._appendOptionElement(key, _options[key]);
|
||||
}
|
||||
}
|
||||
|
||||
// Sometimes value gets set before options
|
||||
if(this.value || this.options.empty_label) this.set_value(this.value);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user