diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-08-16 11:40:55 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-08-16 11:40:55 +0200 |
commit | f94e6036980644bdd6312e75a8973f2633cf5ff2 (patch) | |
tree | 33118fc20d11c98ec4df7ca3458da82657b00549 /apps/files_sharing/js | |
parent | 4588efc44b1a8b45699b0137a798f9b84f8d35b1 (diff) | |
download | nextcloud-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.js | 7 |
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(); + }); }); |