diff options
author | Tulio Casagrande <tcasagra@thoughtworks.com> | 2017-03-24 15:54:27 -0300 |
---|---|---|
committer | Tulio Casagrande <tcasagra@thoughtworks.com> | 2017-03-24 15:54:27 -0300 |
commit | 56fdf12fd1d7f583e4a07e84b1af4595182c0d15 (patch) | |
tree | 3ca77b7bf90838822966aa1e95b2227544b8253a /web-ui/app/js/mail_view | |
parent | 001efcb7434328d339e50fcfc5193ddb5eb31bd6 (diff) |
[#830] Improve timeout of user alerts
with @anikarni
Diffstat (limited to 'web-ui/app/js/mail_view')
-rw-r--r-- | web-ui/app/js/mail_view/ui/send_button.js | 3 |
1 files changed, 2 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 f31f893a..034f472c 100644 --- a/web-ui/app/js/mail_view/ui/send_button.js +++ b/web-ui/app/js/mail_view/ui/send_button.js @@ -91,7 +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.trigger(document, events.ui.userAlerts.displayMessage, + {message: viewHelper.i18n.t('sending-mail'), class: 'success', dismissTimeout: 60000}); this.attr.sendingInProgress = true; |