summaryrefslogtreecommitdiff
path: root/web-ui/app
diff options
context:
space:
mode:
authorAnike Arni <aarni@thoughtworks.com>2017-03-24 11:04:16 -0300
committerAnike Arni <aarni@thoughtworks.com>2017-03-24 11:04:16 -0300
commitc9525311cddd1221e87e99ad04ac660338d54ba5 (patch)
treeb3a6fdad3e4b5f74b1ca2e0fa962655b6f0e9033 /web-ui/app
parentfc074ea9f9b7cd6708a5a878a7b56a4d76a9124e (diff)
[#830] Adds sending feedback alert
Diffstat (limited to 'web-ui/app')
-rw-r--r--web-ui/app/js/mail_view/ui/send_button.js2
1 files changed, 2 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 66fe1233..f31f893a 100644
--- a/web-ui/app/js/mail_view/ui/send_button.js
+++ b/web-ui/app/js/mail_view/ui/send_button.js
@@ -91,6 +91,8 @@ define([
this.disableButton();
this.$node.text(viewHelper.i18n.t('sending-mail'));
+ this.trigger(document, events.ui.userAlerts.displayMessage, {message: viewHelper.i18n.t('sending-mail'), class: 'success'});
+
this.attr.sendingInProgress = true;
this.trigger(document, events.ui.recipients.doCompleteInput);