summaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-07-26 17:00:29 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-07-26 17:00:29 +0200
commit00da23faf6b17cc39c310fab163d122f646098a5 (patch)
tree80c34ad5fa9857aef0811d5039eaeeb5fdcd1951 /files
parentbe45ad904e46a3d11dccb5cda93e827d7e023910 (diff)
downloadnextcloud-server-00da23faf6b17cc39c310fab163d122f646098a5.tar.gz
nextcloud-server-00da23faf6b17cc39c310fab163d122f646098a5.zip
no longer show deleted files as selected
Diffstat (limited to 'files')
-rw-r--r--files/js/files.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/files/js/files.js b/files/js/files.js
index 7842c680300..e1ac4e172fc 100644
--- a/files/js/files.js
+++ b/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();
});
}
});