mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-26 07:02:08 +01:00
Make sure value gets set before applying filters, or it won't stay
This commit is contained in:
parent
79d3e78f30
commit
efd5bacc7a
@ -1454,6 +1454,9 @@ var et2_nextmatch_filterheader = et2_selectbox.extend(et2_INextmatchHeader, {
|
||||
{
|
||||
delete (event.data.nextmatch.activeFilters["col_filter"][event.data.id]);
|
||||
}
|
||||
// Set value so it's there for response (otherwise it gets cleared if options are updated)
|
||||
event.data.set_value(event.data.input.val());
|
||||
|
||||
event.data.nextmatch.applyFilters();
|
||||
});
|
||||
|
||||
|
@ -363,7 +363,6 @@ var et2_selectbox = et2_inputWidget.extend({
|
||||
return this.set_multi_value(_value);
|
||||
}
|
||||
jQuery("option",this.input).attr("selected", false);
|
||||
this.value = _value;
|
||||
if(typeof _value == "array")
|
||||
{
|
||||
for(var i = 0; i < _value.length; i++)
|
||||
@ -390,6 +389,7 @@ var et2_selectbox = et2_inputWidget.extend({
|
||||
this.egw().debug("warning", "Tried to set value that isn't an option", this, _value);
|
||||
}
|
||||
}
|
||||
this.value = _value;
|
||||
},
|
||||
|
||||
set_multi_value: function(_value) {
|
||||
|
Loading…
Reference in New Issue
Block a user