mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-04 04:19:41 +01:00
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:
parent
11e01aaa41
commit
96bc660ee3
@ -2167,7 +2167,9 @@ var et2_nextmatch_header_bar = et2_DOMWidget.extend(et2_INextmatchHeader,
|
|||||||
_widget._oldValue = _widget.getValue();
|
_widget._oldValue = _widget.getValue();
|
||||||
|
|
||||||
var value = this.getInstanceManager().getValues(header);
|
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]);
|
header.nextmatch.applyFilters(value[header.nextmatch.id]);
|
||||||
}
|
}
|
||||||
// In case this gets bound twice, it's important to return
|
// In case this gets bound twice, it's important to return
|
||||||
|
Loading…
Reference in New Issue
Block a user