diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-03-25 11:00:01 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-03-28 11:21:33 +0100 |
commit | f3d6b2f3e918809a189d03a59297c7134e32ab6a (patch) | |
tree | a991cc7b33c738e724a538bdc6665649cbfd1488 /apps/files_trashbin/js | |
parent | b92dad992f86caf3d30f5a10856c417c2a0a28bc (diff) | |
download | nextcloud-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.js | 5 |
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); |