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 68770b19b..7e651b321 100644 --- a/app/assets/javascripts/app/controllers/ticket_zoom/article_actions.coffee +++ b/app/assets/javascripts/app/controllers/ticket_zoom/article_actions.coffee @@ -83,6 +83,10 @@ class App.TicketZoomArticleActions extends App.Controller if localRecipients recipients = recipients.concat localRecipients else + if article.to + localRecipients = emailAddresses.parseAddressList(article.to) + if localRecipients + recipients = recipients.concat localRecipients if article.from localRecipients = emailAddresses.parseAddressList(article.from) if localRecipients diff --git a/app/assets/javascripts/app/controllers/ticket_zoom/article_view.coffee b/app/assets/javascripts/app/controllers/ticket_zoom/article_view.coffee index da24eeaa8..6dda62756 100644 --- a/app/assets/javascripts/app/controllers/ticket_zoom/article_view.coffee +++ b/app/assets/javascripts/app/controllers/ticket_zoom/article_view.coffee @@ -100,7 +100,7 @@ class ArticleViewItem extends App.Controller # set @el attributes if !article @el.addClass("ticket-article-item #{@article.sender.name.toLowerCase()}") - @el.attr('data-id', @article.id) + @el.attr('data-id', @article.id) @el.attr('id', "article-#{@article.id}") # set internal change directly in dom, without rerender while article @@ -166,7 +166,7 @@ class ArticleViewItem extends App.Controller @shown = false a = => @setSeeMore() - @delay( a, 50 ) + @delay(a, 50) # set highlighter @setHighlighter()