diff options
author | Felix Hammerl <fhammerl@thoughtworks.com> | 2016-02-03 18:48:13 +0100 |
---|---|---|
committer | Felix Hammerl <fhammerl@thoughtworks.com> | 2016-02-03 18:54:33 +0100 |
commit | 511d621593a7c157f9f08994da1485a518f95796 (patch) | |
tree | ea31b5c4d7d6de265c79a8cb60d054734ed2bc24 /web-ui/app/js/mail_view/ui/send_button.js | |
parent | 761f429873cb453f244eaf4cad7848e78f9f78c9 (diff) |
Issue #552 - Add upload abort
Cancels an upload and restores the user interface to ready-for-upload state
Diffstat (limited to 'web-ui/app/js/mail_view/ui/send_button.js')
-rw-r--r-- | web-ui/app/js/mail_view/ui/send_button.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web-ui/app/js/mail_view/ui/send_button.js b/web-ui/app/js/mail_view/ui/send_button.js index b1f35906..c4cf86dc 100644 --- a/web-ui/app/js/mail_view/ui/send_button.js +++ b/web-ui/app/js/mail_view/ui/send_button.js @@ -116,6 +116,7 @@ define([ this.on(document, events.mail.uploadingAttachment, this.uploadInProgress); this.on(document, events.mail.uploadedAttachment, this.uploadFinished); + this.on(document, events.mail.failedUploadAttachment, this.uploadFinished); this.on(document, events.dispatchers.rightPane.clear, this.teardown); this.on(document, events.ui.sendbutton.enable, this.resetButton); |