diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2013-04-28 23:25:58 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2013-04-28 23:25:58 +0200 |
commit | 6cf6103ed2d8fcb70d5340be583622f32ff08913 (patch) | |
tree | 05369abd34ea4d7811ebb0c8343aff754f19f664 /apps/files/js | |
parent | 51a1f41225ac3a0565d33a50becb2f53993927f0 (diff) | |
download | nextcloud-server-6cf6103ed2d8fcb70d5340be583622f32ff08913.tar.gz nextcloud-server-6cf6103ed2d8fcb70d5340be583622f32ff08913.zip |
Move onclick handler
Diffstat (limited to 'apps/files/js')
-rw-r--r-- | apps/files/js/files.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js index a2d17fae7d2..4010c66593f 100644 --- a/apps/files/js/files.js +++ b/apps/files/js/files.js @@ -115,6 +115,11 @@ $(document).ready(function() { return false; }); + // Trigger cancelling of file upload + $('#uploadprogresswrapper stop').on('click', function() { + Files.cancelUploads(); + }); + // Show trash bin $('#trash a').live('click', function() { window.location=OC.filePath('files_trashbin', '', 'index.php'); |