Fixed issue with drag-onExecute handler not being called

This commit is contained in:
Andreas Stöckel 2011-05-07 11:22:23 +00:00
parent f4061db91a
commit b416719eb8

View File

@ -161,7 +161,7 @@ function egwDragActionImplementation()
// Only execute the following code if a JS function is registered // Only execute the following code if a JS function is registered
// for the action and this is the first action link // 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); this.helper = _links[k].actionObj.execute(_selected);
} }