Skip to content
Snippets Groups Projects
Commit 0944b445 authored by Juan Carlos Cornejo's avatar Juan Carlos Cornejo
Browse files

Moves the lastAction=null outside the if so it can include the undo requests from replace

parent 24a207a8
No related branches found
No related tags found
No related merge requests found
......@@ -298,13 +298,13 @@ $(document).ready(function(){
});
FileList.deleteCanceled=true;
FileList.deleteFiles=null;
FileList.lastAction = null;
} else if (FileList.replaceOldName && FileList.replaceNewName) {
$('tr').filterAttr('data-file', FileList.replaceOldName).show();
FileList.replaceCanceled = true;
FileList.replaceOldName = null;
FileList.replaceNewName = null;
}
FileList.lastAction = null;
$('#notification').fadeOut();
});
$('#notification .replace').live('click', function() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment