Browse Source
FIX mail_to 12.0
Authored by Rachid EL GHAZI
pull/301/head
Ramil
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
mail_to/static/src/js/mail_to.js
|
|
@ -26,7 +26,7 @@ odoo.define("mail_to.MailTo", function(require) { |
|
|
|
// Value which define more recipients
|
|
|
|
msg.more_recipients_value = 4; |
|
|
|
for (var i = 0; i < msg.recipients.length; i++) { |
|
|
|
if (i >= msg.more_recipients_value) { |
|
|
|
if ( (i >= msg.more_recipients_value) && !(msg.recipients[i] === undefined) ){ |
|
|
|
// Append names
|
|
|
|
more_recipients += msg.recipients[i][1]; |
|
|
|
// Separate them with semicolon
|
|
|
|