diff options
author | Björn Schießle <schiessle@owncloud.com> | 2014-03-28 11:22:19 +0100 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2014-03-28 11:22:19 +0100 |
commit | 0757f87dba371efcdba60f82cbf9faac34c6b0c2 (patch) | |
tree | e2f3d77af382a5d569b8393d35eb1047809af249 /apps/files_trashbin | |
parent | e806b6d9a0cfff46e1859868f71b150024e93e32 (diff) | |
parent | f3d6b2f3e918809a189d03a59297c7134e32ab6a (diff) | |
download | nextcloud-server-0757f87dba371efcdba60f82cbf9faac34c6b0c2.tar.gz nextcloud-server-0757f87dba371efcdba60f82cbf9faac34c6b0c2.zip |
Merge pull request #7872 from owncloud/trash-disablestoragestats
Do not retrieve storage stats for trash bin
Diffstat (limited to 'apps/files_trashbin')
-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); |