if there is only a single event in the action, buffer it into/with a window.setTimeout function call, and wait for the trigger to execute and clean up as it does with multiple actions on a target

This commit is contained in:
Klaus Leithoff 2011-07-21 11:01:03 +00:00
parent 76b19d9692
commit 3251329d6e

View File

@ -337,7 +337,9 @@ function egwDropActionImplementation()
if (cnt == 1) if (cnt == 1)
{ {
lnk.actionObj.execute(selected, _context); window.setTimeout(function() {
lnk.actionObj.execute(selected, _context);
},0);
} }
if (cnt > 1) if (cnt > 1)