mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Disable file drag and drop so normal drag and drop in filemanager works properly
This commit is contained in:
parent
3bd53859d9
commit
ce141fa152
@ -172,8 +172,12 @@ export function egwDragActionImplementation()
|
|||||||
// It shouldn't be so hard to get the action...
|
// It shouldn't be so hard to get the action...
|
||||||
var action = null;
|
var action = null;
|
||||||
var groups = _context.getActionImplementationGroups();
|
var groups = _context.getActionImplementationGroups();
|
||||||
if(!groups.drag) return;
|
if (!groups.drag)
|
||||||
for(var i = 0; i < groups.drag.length; i++)
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
// Disable file drag and drop, it conflicts with normal drag and drop
|
||||||
|
for (var i = 0; false && i < groups.drag.length; i++)
|
||||||
{
|
{
|
||||||
// dragType 'file' says it can be dragged as a file
|
// dragType 'file' says it can be dragged as a file
|
||||||
if(groups.drag[i].link.actionObj.dragType == 'file' || groups.drag[i].link.actionObj.dragType.indexOf('file') > -1)
|
if(groups.drag[i].link.actionObj.dragType == 'file' || groups.drag[i].link.actionObj.dragType.indexOf('file') > -1)
|
||||||
|
Loading…
Reference in New Issue
Block a user