Fix dropping files in non-ROOT categories in the drive
parent
6e6ba73eca
commit
f103a0fb08
|
@ -1681,6 +1681,7 @@ define([
|
|||
&& $target.parents('#cp-app-drive-content')) {
|
||||
newPath = currentPath;
|
||||
}
|
||||
if (newPath[0] !== ROOT) { newPath = [ROOT]; }
|
||||
return newPath;
|
||||
};
|
||||
var onFileDrop = APP.onFileDrop = function (file, e) {
|
||||
|
|
Loading…
Reference in New Issue