From f3d6b2f3e918809a189d03a59297c7134e32ab6a Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Tue, 25 Mar 2014 11:00:01 +0100 Subject: Do not retrieve storage stats for trash bin --- apps/files_trashbin/js/trash.js | 5 +++++ 1 file changed, 5 insertions(+) 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); -- cgit v1.2.3