forked from extern/egroupware
Fix nm filter onchange no longer sending expected nm widget
This commit is contained in:
parent
9a005ab7c0
commit
7756357756
@ -2722,7 +2722,7 @@ var et2_nextmatch_header_bar = /** @class */ (function (_super) {
|
|||||||
var widget_change = _widget.change;
|
var widget_change = _widget.change;
|
||||||
var change = function (_node) {
|
var change = function (_node) {
|
||||||
// Call previously set change function
|
// Call previously set change function
|
||||||
var result = widget_change.call(_widget, _node);
|
var result = widget_change.call(_widget, _node, header.nextmatch);
|
||||||
// Update filters, if we're not already doing so
|
// Update filters, if we're not already doing so
|
||||||
if ((result || typeof result === 'undefined') && _widget.isDirty() && !header.update_in_progress) {
|
if ((result || typeof result === 'undefined') && _widget.isDirty() && !header.update_in_progress) {
|
||||||
// Update dirty
|
// Update dirty
|
||||||
|
@ -3484,7 +3484,7 @@ class et2_nextmatch_header_bar extends et2_DOMWidget implements et2_INextmatchHe
|
|||||||
|
|
||||||
let change = function (_node) {
|
let change = function (_node) {
|
||||||
// Call previously set change function
|
// Call previously set change function
|
||||||
const result = widget_change.call(_widget, _node);
|
const result = widget_change.call(_widget, _node, header.nextmatch);
|
||||||
|
|
||||||
// Update filters, if we're not already doing so
|
// Update filters, if we're not already doing so
|
||||||
if ((result || typeof result === 'undefined') && _widget.isDirty() && !header.update_in_progress) {
|
if ((result || typeof result === 'undefined') && _widget.isDirty() && !header.update_in_progress) {
|
||||||
|
Loading…
Reference in New Issue
Block a user