diff options
author | Giovane Liberato <giovaneliberato@gmail.com> | 2015-11-11 15:16:42 -0200 |
---|---|---|
committer | Giovane Liberato <giovaneliberato@gmail.com> | 2015-11-11 15:16:42 -0200 |
commit | 3ef5fb5dd004edcf23d55b2533c37ffafec828f4 (patch) | |
tree | 2794ebb5e69e7a64b621b89fcfd4f9ddc1b2ab5a /web-ui/app/js | |
parent | a8dfb9547561567813247484f18e15e7c40352b4 (diff) | |
parent | 89fd2afb0ac99b113f0f05f4c9ac8c33094080b0 (diff) |
Merge pull request #520 from juniorz/issue-514
Align second line of email addresses to the beginning of the first line
Diffstat (limited to 'web-ui/app/js')
-rw-r--r-- | web-ui/app/js/mail_view/ui/recipients/recipients.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/web-ui/app/js/mail_view/ui/recipients/recipients.js b/web-ui/app/js/mail_view/ui/recipients/recipients.js index 3d756bd5..2caa8d14 100644 --- a/web-ui/app/js/mail_view/ui/recipients/recipients.js +++ b/web-ui/app/js/mail_view/ui/recipients/recipients.js @@ -32,7 +32,8 @@ define( function recipients() { this.defaultAttrs({ - navigationHandler: '.recipients-navigation-handler' + navigationHandler: '.recipients-navigation-handler', + recipientsList: '.recipients-list' }); function getAddresses(recipients) { @@ -85,7 +86,7 @@ define( }; this.addRecipient = function(recipient) { - var newRecipient = Recipient.prototype.renderAndPrepend(this.$node, recipient); + var newRecipient = Recipient.prototype.renderAndPrepend(this.$node.find(this.attr.recipientsList), recipient); this.attr.recipients.push(newRecipient); }; |