forked from extern/egroupware
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)
|
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);
|
_callback.call(_context, this);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user