mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
If caller wanted to iterate over all et2_widgets (default), include all Et2Widgets as well
This commit is contained in:
parent
cff1671f6f
commit
bbb6444dce
@ -784,7 +784,7 @@ const Et2WidgetMixin = (superClass) =>
|
||||
|
||||
iterateOver(_callback : Function, _context, _type)
|
||||
{
|
||||
if(typeof _type == "undefined" || et2_implements_registry[_type] && et2_implements_registry[_type](this))
|
||||
if(typeof _type == "undefined" || _type == et2_widget || et2_implements_registry[_type] && et2_implements_registry[_type](this))
|
||||
{
|
||||
_callback.call(_context, this);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user