summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2013-08-16 11:40:55 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2013-08-16 11:40:55 +0200
commitf94e6036980644bdd6312e75a8973f2633cf5ff2 (patch)
tree33118fc20d11c98ec4df7ca3458da82657b00549 /apps/files_sharing/js
parent4588efc44b1a8b45699b0137a798f9b84f8d35b1 (diff)
downloadnextcloud-server-f94e6036980644bdd6312e75a8973f2633cf5ff2.tar.gz
nextcloud-server-f94e6036980644bdd6312e75a8973f2633cf5ff2.zip
progress fixes
Diffstat (limited to 'apps/files_sharing/js')
-rw-r--r--apps/files_sharing/js/public.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js
index 294223aa094..a20b4ae636f 100644
--- a/apps/files_sharing/js/public.js
+++ b/apps/files_sharing/js/public.js
@@ -62,7 +62,10 @@ $(document).ready(function() {
// Add Uploadprogress Wrapper to controls bar
$('#controls').append($('#additional_controls div#uploadprogresswrapper'));
- // Cancel upload trigger
- $('#cancel_upload_button').click(Files.cancelUploads);
+ // Cancel upload trigger
+ $('#cancel_upload_button').click(function() {
+ OC.Upload.cancelUploads();
+ procesSelection();
+ });
});