aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/filelist.js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-09-21 18:49:15 +0200
committerMorris Jobke <hey@morrisjobke.de>2016-10-25 14:51:44 +0200
commit50b8221255c7fe88a1968419904ff295c4db9613 (patch)
tree3549c46666e332ecae5a1aad3996caccb8c2f08a /apps/files/js/filelist.js
parent89574367bcc57da5eda6d13ffcfd8a12de68ea26 (diff)
downloadnextcloud-server-50b8221255c7fe88a1968419904ff295c4db9613.tar.gz
nextcloud-server-50b8221255c7fe88a1968419904ff295c4db9613.zip
Highlight files and update storage stats at end of upload (#26164)
Properly trigger the "stop" even from the uploader. Also update storage stats at the end of all uploads instead of for each upload.
Diffstat (limited to 'apps/files/js/filelist.js')
-rw-r--r--apps/files/js/filelist.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index bf4fd75d4cc..18534db3ee9 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -2810,8 +2810,8 @@
$.when.apply($, promises).then(function() {
// highlight uploaded files
self.highlightFiles(fileNames);
+ self.updateStorageStatistics();
});
- self.updateStorageStatistics();
var uploadText = self.$fileList.find('tr .uploadtext');
self.showFileBusyState(uploadText.closest('tr'), false);