diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-03-25 14:00:01 +0400 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-06-26 12:56:18 +0400 |
commit | a609d5e031606c41f1fe380a15d44a51bded7494 (patch) | |
tree | 1b115805f17647452ea6715450476e01929dc303 /apps/files_trashbin | |
parent | da7641c232df03d862d36c364f7124c7b18699bf (diff) |
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 46d8b56308c..8151fea09cd 100644 --- a/apps/files_trashbin/js/trash.js +++ b/apps/files_trashbin/js/trash.js @@ -1,6 +1,11 @@ $(document).ready(function() { + 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); |