summaryrefslogtreecommitdiffstats
path: root/apps/files/js/operationprogressbar.js
diff options
context:
space:
mode:
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'));
});
},