mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-31 11:09:04 +01:00
Give bound click handlers on widgets a chance to get executed
This commit is contained in:
parent
99693d1ef6
commit
289f9a0644
@ -168,8 +168,12 @@ function egwPopupActionImplementation()
|
||||
sel.removeAllRanges();
|
||||
}
|
||||
|
||||
_callback.call(_context, "default", ai);
|
||||
|
||||
if (!(_context.manager.getActionsByAttr('singleClick', true).length > 0 &&
|
||||
e.originalEvent.target.classList.contains('et2_clickable')))
|
||||
{
|
||||
_callback.call(_context, "default", ai);
|
||||
}
|
||||
|
||||
// Stop action from bubbling up to parents
|
||||
e.stopPropagation();
|
||||
e.cancelBubble = true;
|
||||
|
Loading…
Reference in New Issue
Block a user