diff --git a/www/drive/inner.js b/www/drive/inner.js index fb2b0bcd9..7224d729d 100644 --- a/www/drive/inner.js +++ b/www/drive/inner.js @@ -1361,6 +1361,7 @@ define([ }); cb(); }; + if (paths.some(function (p) { return manager.comparePath(newPath, p) })) { return void cb(); } manager.move(paths, newPath, newCb, copy); }; // Delete paths from the drive and/or shared folders (without moving them to the trash)