Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-03-25 14:00:01 +0400
committerVincent Petry <pvince81@owncloud.com>2014-06-26 12:56:18 +0400
commita609d5e031606c41f1fe380a15d44a51bded7494 (patch)
tree1b115805f17647452ea6715450476e01929dc303 /apps/files_trashbin
parentda7641c232df03d862d36c364f7124c7b18699bf (diff)
Do not retrieve storage stats for trash bin
Diffstat (limited to 'apps/files_trashbin')
-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 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);