diff options
author | Georg Ehrke <georg@ownCloud.com> | 2013-02-09 11:27:03 +0100 |
---|---|---|
committer | Georg Ehrke <georg@ownCloud.com> | 2013-02-09 11:28:13 +0100 |
commit | 8961e675c77eefa9b44ea992131218982351f1ff (patch) | |
tree | 6bb62da924ea22a51910f8f952498f015cf24d41 /apps/files | |
parent | 5a15221910aa8307d58ae89fc8cb3555663b36d8 (diff) | |
download | nextcloud-server-8961e675c77eefa9b44ea992131218982351f1ff.tar.gz nextcloud-server-8961e675c77eefa9b44ea992131218982351f1ff.zip |
remove (comment out) old code to fix replacing of files
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/js/filelist.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index e4c71d41b2a..5ee55256eaa 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -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(); |