Merge pull request #1565 from owncloud/fix_replacing

remove code properly to make @DeepDiver1975 happy ;)
remotes/origin/stable5
Jörn Friedrich Dreyer 12 years ago
commit 0c73cae77b
  1. 3
      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();

Loading…
Cancel
Save