From aa47e50f97d07c165e29f120149e59ca9ad12ef1 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 6 Nov 2013 23:12:32 +0000 Subject: [PATCH] Fix missing drag helper --- phpgwapi/js/egw_action/egw_action_dragdrop.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/phpgwapi/js/egw_action/egw_action_dragdrop.js b/phpgwapi/js/egw_action/egw_action_dragdrop.js index 4958dd8ca6..401940b40e 100644 --- a/phpgwapi/js/egw_action/egw_action_dragdrop.js +++ b/phpgwapi/js/egw_action/egw_action_dragdrop.js @@ -187,7 +187,10 @@ function egwDragActionImplementation() .on("drag", function(e) { // Remove the helper, it has been copied into the dataTransfer object now // Hopefully user didn't notice it... - ai.helper.remove(); + if(e.dataTransfer != null) + { + ai.helper.remove(); + } }); } $j(node).draggable(