aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/operationprogressbar.js
diff options
context:
space:
mode:
authorTomasz Grobelny <tomasz@grobelny.net>2019-02-16 23:27:50 +0100
committerTomasz Grobelny <tomasz@grobelny.net>2019-02-16 23:27:50 +0100
commit7c4c5fe6ae91fe09348b7e314a89ac871b7c47c0 (patch)
tree30360fad29f62e02854a87e1e50de9b7ff1bd3a9 /apps/files/js/operationprogressbar.js
parent1edfffd091ed416d99925d9dc660920560c457fa (diff)
downloadnextcloud-server-7c4c5fe6ae91fe09348b7e314a89ac871b7c47c0.tar.gz
nextcloud-server-7c4c5fe6ae91fe09348b7e314a89ac871b7c47c0.zip
Limit number of simultaneous MKCOL requests to server to increase upload reliability
Signed-off-by: Tomasz Grobelny <tomasz@grobelny.net>
Diffstat (limited to 'apps/files/js/operationprogressbar.js')
-rw-r--r--apps/files/js/operationprogressbar.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files/js/operationprogressbar.js b/apps/files/js/operationprogressbar.js
index efeea4ad78f..d07cea91235 100644
--- a/apps/files/js/operationprogressbar.js
+++ b/apps/files/js/operationprogressbar.js
@@ -32,8 +32,9 @@
},
hideCancelButton: function() {
+ var self = this;
$('#uploadprogresswrapper .stop').fadeOut(function() {
- this.$el.trigger(new $.Event('resized'));
+ self.$el.trigger(new $.Event('resized'));
});
},