diff options
| author | Jefferson Stachelski <jstachel@thoughtworks.com> | 2015-11-13 19:12:02 -0200 | 
|---|---|---|
| committer | Jefferson Stachelski <jstachel@thoughtworks.com> | 2015-11-13 19:12:02 -0200 | 
| commit | c8e25d72118c6299424e4483f96707182ced9e27 (patch) | |
| tree | 55e49fda907a947f3afed3faa7b4d16aec913442 /web-ui/app/js | |
| parent | a5db6de4510ddb0028642379f424f57cfa4c9f48 (diff) | |
Issue #525 - Fixed broken tests
Diffstat (limited to 'web-ui/app/js')
| -rw-r--r-- | web-ui/app/js/mixins/with_mail_edit_base.js | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/web-ui/app/js/mixins/with_mail_edit_base.js b/web-ui/app/js/mixins/with_mail_edit_base.js index c9c60c2d..17753cf3 100644 --- a/web-ui/app/js/mixins/with_mail_edit_base.js +++ b/web-ui/app/js/mixins/with_mail_edit_base.js @@ -133,11 +133,11 @@ define(        this.sendMail = function () {          this.cancelPostponedSaveDraft();          var mail = this.buildMail('sent'); -        mail.header.to = this.trim_recipient(mail.header.to); -        mail.header.cc = this.trim_recipient(mail.header.cc); -        mail.header.bcc = this.trim_recipient(mail.header.bcc);          if (allRecipientsAreEmails(mail)) { +          mail.header.to = this.trim_recipient(mail.header.to); +          mail.header.cc = this.trim_recipient(mail.header.cc); +          mail.header.bcc = this.trim_recipient(mail.header.bcc);            this.trigger(events.mail.send, mail);          } else {            this.trigger( | 
