mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-22 13:20:50 +01:00
* All application: Fix unintentional dragging happens while user try to do scrolling over a dragging item in FF(e.g. scrolling over an scrollable infolog entry)
This commit is contained in:
parent
ad09331ac6
commit
26bbb237c3
@ -340,6 +340,15 @@ 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)
|
||||
|
Loading…
Reference in New Issue
Block a user