no longer show deleted files as selected

remotes/origin/stable
Robin Appelman 14 years ago
parent be45ad904e
commit 00da23faf6
  1. 8
      files/js/files.js

@ -107,9 +107,11 @@ $(document).ready(function() {
data: "dir="+$('#dir').val()+"&files="+encodeURIComponent(files),
complete: function(data){
boolOperationFinished(data, function(){
$('td.filename input:checkbox:checked').parent().parent().each(function(i,element){
FileList.remove($(element).data('file'));
});
var files=getSelectedFiles('name');
for(var i=0;i<files.length;i++){
FileList.remove(files[i]);
}
procesSelection();
});
}
});

Loading…
Cancel
Save