diff options
Diffstat (limited to 'apps/files_sharing/js/public.js')
-rw-r--r-- | apps/files_sharing/js/public.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js index acabc9a5c10..67320b1cdb6 100644 --- a/apps/files_sharing/js/public.js +++ b/apps/files_sharing/js/public.js @@ -62,6 +62,9 @@ $(document).ready(function() { $('#controls').append($('#additional_controls div#uploadprogresswrapper')); // Cancel upload trigger - $('#cancel_upload_button').click(Files.cancelUploads); + $('#cancel_upload_button').click(function() { + OC.Upload.cancelUploads(); + procesSelection(); + }); }); |