Clear filters before applying header changes, to handle the case of nulled input, which would otherwise be skipped, and the old value filled in.

This commit is contained in:
Nathan Gray 2014-03-06 22:09:40 +00:00
parent 11e01aaa41
commit 96bc660ee3

View File

@ -2167,7 +2167,9 @@ var et2_nextmatch_header_bar = et2_DOMWidget.extend(et2_INextmatchHeader,
_widget._oldValue = _widget.getValue();
var value = this.getInstanceManager().getValues(header);
// Filter now
// Filter now, but reset - handles nulled values
header.nextmatch.activeFilters = {};
header.nextmatch.applyFilters(value[header.nextmatch.id]);
}
// In case this gets bound twice, it's important to return