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

remotes/origin/stable45
Juan Carlos Cornejo 13 years ago
parent 24a207a8fa
commit 0944b4455b
  1. 2
      apps/files/js/filelist.js

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

Loading…
Cancel
Save