diff options
author | Reinaldo de Souza Jr <juniorz@gmail.com> | 2015-11-11 14:25:04 -0200 |
---|---|---|
committer | Reinaldo de Souza Jr <juniorz@gmail.com> | 2015-11-11 14:25:44 -0200 |
commit | e5cd25e3284b4901d9b61171acf8f03138709f26 (patch) | |
tree | 9089ecf9f1227b4d44909ad0b920d7f5d38c8da0 /web-ui/app/js | |
parent | a8dfb9547561567813247484f18e15e7c40352b4 (diff) |
Align second line of email addresses to the beginning of the first line
Fixes #514
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); }; |