Merge pull request #1560 from owncloud/fix_replacing
remove (comment out) old code to fix replacing of files
This commit is contained in:
commit
ab4ae2b952
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue