summaryrefslogtreecommitdiff
path: root/web-ui/app/js/mail_view/ui/send_button.js
diff options
context:
space:
mode:
authorLisa Junger <ljunger@thoughtworks.com>2015-03-20 16:30:48 +0100
committerLisa Junger <ljunger@thoughtworks.com>2015-03-20 16:48:15 +0100
commitf6d676f39b8b1c6f79069964714f81adaa00ff5d (patch)
treee24f3eb44d7cacab0a06acf206cff9f96db0fe54 /web-ui/app/js/mail_view/ui/send_button.js
parent28917526fd8111483cfaf6cfb0ffe714f9ae9f1c (diff)
fix: send button no longer stuck on sending for invalid email addresses.
-Issue #189
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.js2
1 files changed, 1 insertions, 1 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 8f168ecc..6f5add2a 100644
--- a/web-ui/app/js/mail_view/ui/send_button.js
+++ b/web-ui/app/js/mail_view/ui/send_button.js
@@ -77,10 +77,10 @@ define([
this.off(document, events.ui.mail.recipientsUpdated);
}.bind(this)));
- this.trigger(document, events.ui.recipients.doCompleteInput);
this.disableButton();
this.$node.text(viewHelper.i18n('sending-mail'));
+ this.trigger(document, events.ui.recipients.doCompleteInput);
};
this.forceEnableButton = function () {