From e69df0dd3bb8d16e12e6126f0d37827cf741489b Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Thu, 7 Apr 2016 16:48:13 +0000 Subject: [PATCH] Remove scroll check, doesn't appear to be needed anymore and it was stopping dnd on skinny (< 15px) nodes --- api/js/egw_action/egw_action_dragdrop.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/api/js/egw_action/egw_action_dragdrop.js b/api/js/egw_action/egw_action_dragdrop.js index 24d86f8097..4d42e1cdf2 100644 --- a/api/js/egw_action/egw_action_dragdrop.js +++ b/api/js/egw_action/egw_action_dragdrop.js @@ -342,15 +342,6 @@ function egwDragActionImplementation() return ai.defaultDDHelper(ai.selected);//$j(document.createElement("div")).addClass('et2_egw_action_ddHelper'); }, "start": function(e) { - - //Stop dragging if user tries to do scrolling by mouse down and drag - //Seems this issue is only happening in FF - var $target = $j(e.originalEvent.target); - if(e.originalEvent.pageX - $target.offset().left + 15 > $target.innerWidth()) - { - return false; - } - return ai.helper != null; }, revert: function(valid)