aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-03-25 11:00:01 +0100
committerVincent Petry <pvince81@owncloud.com>2014-03-28 11:21:33 +0100
commitf3d6b2f3e918809a189d03a59297c7134e32ab6a (patch)
treea991cc7b33c738e724a538bdc6665649cbfd1488 /apps/files_trashbin/js
parentb92dad992f86caf3d30f5a10856c417c2a0a28bc (diff)
downloadnextcloud-server-f3d6b2f3e918809a189d03a59297c7134e32ab6a.tar.gz
nextcloud-server-f3d6b2f3e918809a189d03a59297c7134e32ab6a.zip
Do not retrieve storage stats for trash bin
Diffstat (limited to 'apps/files_trashbin/js')
-rw-r--r--apps/files_trashbin/js/trash.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/files_trashbin/js/trash.js b/apps/files_trashbin/js/trash.js
index 6aade210505..efe1e89f0bf 100644
--- a/apps/files_trashbin/js/trash.js
+++ b/apps/files_trashbin/js/trash.js
@@ -25,6 +25,11 @@ $(document).ready(function() {
enableActions();
}
+ Files.updateStorageStatistics = function() {
+ // no op because the trashbin doesn't have
+ // storage info like free space / used space
+ };
+
if (typeof FileActions !== 'undefined') {
FileActions.register('all', 'Restore', OC.PERMISSION_READ, OC.imagePath('core', 'actions/history'), function(filename) {
var tr = FileList.findFileEl(filename);