From bd270b4010c3911cdd3f4c3d2e3778adc170802c Mon Sep 17 00:00:00 2001 From: Christian Binder Date: Sat, 25 Aug 2012 14:40:48 +0000 Subject: [PATCH] fix ignored _onExecute attribute --- phpgwapi/js/egw_action/egw_action.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/phpgwapi/js/egw_action/egw_action.js b/phpgwapi/js/egw_action/egw_action.js index 8d277f96a8..6c5c060952 100644 --- a/phpgwapi/js/egw_action/egw_action.js +++ b/phpgwapi/js/egw_action/egw_action.js @@ -159,6 +159,10 @@ function egwAction(_parent, _id, _caption, _iconUrl, _onExecute, _allowOnMultipl this.children = []; this.onExecute = new egwFnct(this, null, []); + if(_onExecute !== null) + { + this.set_onExecute(_onExecute); + } } /**