Skip to content
Snippets Groups Projects
Commit ab4ae2b9 authored by Bernhard Posselt's avatar Bernhard Posselt
Browse files

Merge pull request #1560 from owncloud/fix_replacing

remove (comment out) old code to fix replacing of files
parents 800609aa 8961e675
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment