Stop default actions from bubbling after they are handled, fixes parent default action firing after child default action has been handled

This commit is contained in:
Nathan Gray 2015-01-12 16:17:29 +00:00
parent 6bd93b25fb
commit 5b972ea11f

View File

@ -144,6 +144,10 @@ function egwPopupActionImplementation()
_callback.call(_context, "default", ai);
// Stop action from bubbling up to parents
e.stopPropagation();
e.cancelBubble = true;
return false;
};