Merge pull request #1565 from owncloud/fix_replacing

remove code properly to make @DeepDiver1975 happy ;)
This commit is contained in:
Jörn Friedrich Dreyer 2013-02-09 03:58:06 -08:00
commit 0c73cae77b
1 changed files with 0 additions and 3 deletions

View File

@ -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();