]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove (comment out) old code to fix replacing of files
authorGeorg Ehrke <georg@ownCloud.com>
Sat, 9 Feb 2013 10:27:03 +0000 (11:27 +0100)
committerGeorg Ehrke <georg@ownCloud.com>
Sat, 9 Feb 2013 10:28:13 +0000 (11:28 +0100)
apps/files/js/filelist.js

index e4c71d41b2ac8be1bbcf5b8623e5f4cfb9d2ea1b..5ee55256eaa35b2ee1b1bc1558b5770f7969c94e 100644 (file)
@@ -216,9 +216,9 @@ var FileList={
        },
        replace:function(oldName, newName, isNewFile) {
                // Finish any existing actions
-               if (FileList.lastAction || !FileList.useUndo) {
+               /*if (FileList.lastAction || !FileList.useUndo) {
                        FileList.lastAction();
-               }
+               }*/
                $('tr').filterAttr('data-file', oldName).hide();
                $('tr').filterAttr('data-file', newName).hide();
                var tr = $('tr').filterAttr('data-file', oldName).clone();