summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-04-08 16:56:12 +0200
committerVincent Petry <pvince81@owncloud.com>2014-04-28 14:55:01 +0200
commit3c006a5a4d00f8852de6a586fb987baa50a067ea (patch)
tree95245910cd084c3c3556b350ed0a596f6b1891d3 /apps/files_trashbin/js
parent3159c2ee641e329c2fbaa5efbf9ac994795efa1d (diff)
downloadnextcloud-server-3c006a5a4d00f8852de6a586fb987baa50a067ea.tar.gz
nextcloud-server-3c006a5a4d00f8852de6a586fb987baa50a067ea.zip
Cleanup and fix trashbin "clear all files" operation
Diffstat (limited to 'apps/files_trashbin/js')
-rw-r--r--apps/files_trashbin/js/filelist.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/js/filelist.js b/apps/files_trashbin/js/filelist.js
index 42ab89ef6a6..3bb3a92b60d 100644
--- a/apps/files_trashbin/js/filelist.js
+++ b/apps/files_trashbin/js/filelist.js
@@ -133,7 +133,7 @@
}
FileList.hideMask();
// simply remove all files
- FileList.update('');
+ FileList.setFiles([]);
enableActions();
}
else {