Fixed not always shown "reply all" feature.

This commit is contained in:
Martin Edenhofer 2016-03-17 08:27:57 +01:00
parent 44a0eed6d8
commit d38d062d1d
2 changed files with 6 additions and 2 deletions

View file

@ -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

View file

@ -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()