From ab1985b62b56699061f2206b15404f7f881797c5 Mon Sep 17 00:00:00 2001 From: "John Molakvoæ (skjnldsv)" Date: Wed, 3 Jan 2018 17:53:48 +0100 Subject: Fixed quota update on upload and on delete MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- apps/files/js/filelist.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/files/js/filelist.js') diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 5e17f128a7d..7a4ea492752 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -1803,7 +1803,7 @@ }, updateStorageQuotas: function() { - OCA.Files.Files.updateStorageQuotas(this.getCurrentDirectory()); + OCA.Files.Files.updateStorageQuotas(); }, /** @@ -2636,6 +2636,7 @@ self.updateSelectionSummary(); // FIXME: don't repeat this, do it once all files are done self.updateStorageStatistics(); + self.updateStorageQuotas(); } _.each(files, function(file) { -- cgit v1.2.3