Fix drag&drop for pads in the drive
This commit is contained in:
parent
e51f678bb9
commit
5b523be171
@ -1027,7 +1027,7 @@ define([
|
|||||||
|
|
||||||
// Don't the the normal drop handler for file upload
|
// Don't the the normal drop handler for file upload
|
||||||
var fileDrop = ev.dataTransfer.files;
|
var fileDrop = ev.dataTransfer.files;
|
||||||
if (fileDrop) { return void onFileDrop(fileDrop, ev); }
|
if (fileDrop.length) { return void onFileDrop(fileDrop, ev); }
|
||||||
|
|
||||||
var oldPaths = JSON.parse(data).path;
|
var oldPaths = JSON.parse(data).path;
|
||||||
if (!oldPaths) { return; }
|
if (!oldPaths) { return; }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user