Fixed array concat.

This commit is contained in:
Martin Edenhofer 2016-03-17 08:34:18 +01:00
parent 98d9596084
commit af4e744e73

View file

@ -81,15 +81,15 @@ class App.TicketZoomArticleActions extends App.Controller
if article.from if article.from
localRecipients = emailAddresses.parseAddressList(article.from) localRecipients = emailAddresses.parseAddressList(article.from)
if localRecipients if localRecipients
recipients.push recipients.concat localRecipients recipients = recipients.concat localRecipients
if article.to if article.to
localRecipients = emailAddresses.parseAddressList(article.to) localRecipients = emailAddresses.parseAddressList(article.to)
if localRecipients if localRecipients
recipients.push recipients.concat localRecipients recipients = recipients.concat localRecipients
if article.cc if article.cc
localRecipients = emailAddresses.parseAddressList(article.cc) localRecipients = emailAddresses.parseAddressList(article.cc)
if localRecipients if localRecipients
recipients.push recipients.concat localRecipients recipients = recipients.concat localRecipients
if recipients.length > 1 if recipients.length > 1
actions.push { actions.push {
name: 'reply all' name: 'reply all'