aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/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 f44a36435a1..373aa389511 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -1623,7 +1623,7 @@
// discard finished uploads list, we'll get it through a regular reload
this._uploads = {};
- this.reload().then(function(success){
+ return this.reload().then(function(success){
if (!success) {
self.changeDirectory(currentDir, true);
}