From f6d676f39b8b1c6f79069964714f81adaa00ff5d Mon Sep 17 00:00:00 2001 From: Lisa Junger Date: Fri, 20 Mar 2015 16:30:48 +0100 Subject: fix: send button no longer stuck on sending for invalid email addresses. -Issue #189 --- web-ui/app/js/mail_view/ui/send_button.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web-ui/app/js/mail_view/ui') 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 () { -- cgit v1.2.3