From b416719eb808a0d1dfb6820bdb25900ef82756cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20St=C3=B6ckel?= Date: Sat, 7 May 2011 11:22:23 +0000 Subject: [PATCH] Fixed issue with drag-onExecute handler not being called --- phpgwapi/js/egw_action/egw_action_dragdrop.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/js/egw_action/egw_action_dragdrop.js b/phpgwapi/js/egw_action/egw_action_dragdrop.js index 0883be39f5..bf008965b7 100644 --- a/phpgwapi/js/egw_action/egw_action_dragdrop.js +++ b/phpgwapi/js/egw_action/egw_action_dragdrop.js @@ -161,7 +161,7 @@ function egwDragActionImplementation() // Only execute the following code if a JS function is registered // for the action and this is the first action link - if (!this.helper && _links[k].actionObj.execJSFnct) + if (!this.helper && _links[k].actionObj.onExecute.hasHandler()) { this.helper = _links[k].actionObj.execute(_selected); }