Get drag out action working again

This commit is contained in:
Hadi Nategh 2014-10-21 15:08:53 +00:00
parent 66e889fe06
commit ffa99fcb01

View File

@ -166,7 +166,7 @@ function egwDragActionImplementation()
for(var i = 0; i < groups.drag.length; i++) for(var i = 0; 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') if(groups.drag[i].link.actionObj.dragType == 'file' || groups.drag[i].link.actionObj.dragType.indexOf('file') > -1)
{ {
action = groups.drag[i].link.actionObj; action = groups.drag[i].link.actionObj;
break; break;