From 8961e675c77eefa9b44ea992131218982351f1ff Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Sat, 9 Feb 2013 11:27:03 +0100 Subject: [PATCH] remove (comment out) old code to fix replacing of files --- apps/files/js/filelist.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index e4c71d41b2..5ee55256ea 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();