From af4e744e73ed4935d2617a4937d5f45a2bc0800d Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Thu, 17 Mar 2016 08:34:18 +0100 Subject: [PATCH] Fixed array concat. --- .../app/controllers/ticket_zoom/article_actions.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/app/controllers/ticket_zoom/article_actions.coffee b/app/assets/javascripts/app/controllers/ticket_zoom/article_actions.coffee index 7713a8f3a..1b83f8a00 100644 --- a/app/assets/javascripts/app/controllers/ticket_zoom/article_actions.coffee +++ b/app/assets/javascripts/app/controllers/ticket_zoom/article_actions.coffee @@ -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'