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
localRecipients = emailAddresses.parseAddressList(article.from)
if localRecipients
recipients.push recipients.concat localRecipients
recipients = recipients.concat localRecipients
if article.to
localRecipients = emailAddresses.parseAddressList(article.to)
if localRecipients
recipients.push recipients.concat localRecipients
recipients = recipients.concat localRecipients
if article.cc
localRecipients = emailAddresses.parseAddressList(article.cc)
if localRecipients
recipients.push recipients.concat localRecipients
recipients = recipients.concat localRecipients
if recipients.length > 1
actions.push {
name: 'reply all'