summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2013-02-09 03:58:06 -0800
committerJörn Friedrich Dreyer <jfd@butonic.de>2013-02-09 03:58:06 -0800
commit0c73cae77b402355809c8f5f5be69d8a730fe3e2 (patch)
tree9eac0266e03919ef68f961c78a45f05cb8fbb05a /apps/files
parentab4ae2b952fedf7bac2810bb6be7997fb661a1fc (diff)
parent2137bbe330c52a2bc5152537c4bea3f758b6bd95 (diff)
downloadnextcloud-server-0c73cae77b402355809c8f5f5be69d8a730fe3e2.tar.gz
nextcloud-server-0c73cae77b402355809c8f5f5be69d8a730fe3e2.zip
Merge pull request #1565 from owncloud/fix_replacing
remove code properly to make @DeepDiver1975 happy ;)
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/js/filelist.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 5ee55256eaa..4a66b33694d 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -216,9 +216,6 @@ var FileList={
},
replace:function(oldName, newName, isNewFile) {
// Finish any existing actions
- /*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();