[Pkg-owncloud-commits] [owncloud] 07/70: Do not retrieve storage stats for trash bin
David Prévot
taffit at moszumanska.debian.org
Thu Aug 21 17:39:59 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v6.0.5RC1
in repository owncloud.
commit a609d5e031606c41f1fe380a15d44a51bded7494
Author: Vincent Petry <pvince81 at owncloud.com>
Date: Tue Mar 25 11:00:01 2014 +0100
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 46d8b56..8151fea 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);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list