partial revert of 768b6ae, as filter, filter2 and cat get lost when changing a column filter

This commit is contained in:
Ralf Becker 2017-01-30 09:59:19 +01:00
parent bb5f1fd66b
commit a81fe4f82a

View File

@ -2715,6 +2715,12 @@ var et2_nextmatch_header_bar = (function(){ "use strict"; return et2_DOMWidget.e
if (this.nextmatch.options.settings[name+"_onchange"]) if (this.nextmatch.options.settings[name+"_onchange"])
{ {
// Make sure to get the new value for filtering
input.change(this.nextmatch, function(event) {
var set = {};
set[name] = select.getValue();
event.data.applyFilters(set);
});
// Get the onchange function string // Get the onchange function string
var onchange = this.nextmatch.options.settings[name+"_onchange"]; var onchange = this.nextmatch.options.settings[name+"_onchange"];