mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:05:16 +01:00
fix error, if widget has no change handler
This commit is contained in:
parent
2d6770ebfa
commit
185e0eaf95
@ -3884,7 +3884,7 @@ export class et2_nextmatch_header_bar extends et2_DOMWidget implements et2_INext
|
||||
let change = function(_node)
|
||||
{
|
||||
// Call previously set change function
|
||||
const result = widget_change.call(_widget, _node, header.nextmatch, _widget);
|
||||
const result = widget_change?.call(_widget, _node, header.nextmatch, _widget);
|
||||
|
||||
// Find current value in activeFilters
|
||||
let entry = header.nextmatch.activeFilters;
|
||||
@ -4727,4 +4727,4 @@ export class et2_nextmatch_customfilter extends et2_nextmatch_filterheader
|
||||
}
|
||||
}
|
||||
|
||||
et2_register_widget(et2_nextmatch_customfilter, ['nextmatch-customfilter']);
|
||||
et2_register_widget(et2_nextmatch_customfilter, ['nextmatch-customfilter']);
|
Loading…
Reference in New Issue
Block a user