Merge pull request #1560 from owncloud/fix_replacing

remove (comment out) old code to fix replacing of files
This commit is contained in:
Bernhard Posselt 2013-02-09 03:28:40 -08:00
commit ab4ae2b952
1 changed files with 2 additions and 2 deletions

View File

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