Fixed not always shown "reply all" feature.
This commit is contained in:
parent
d38d062d1d
commit
98d9596084
1 changed files with 7 additions and 12 deletions
|
@ -77,24 +77,19 @@ class App.TicketZoomArticleActions extends App.Controller
|
||||||
href: '#'
|
href: '#'
|
||||||
}
|
}
|
||||||
recipients = []
|
recipients = []
|
||||||
if article.sender.name is 'Agent'
|
if article.sender.name is 'Customer'
|
||||||
if article.to
|
|
||||||
localRecipients = emailAddresses.parseAddressList(article.to)
|
|
||||||
if localRecipients
|
|
||||||
recipients = recipients.concat localRecipients
|
|
||||||
else
|
|
||||||
if article.to
|
|
||||||
localRecipients = emailAddresses.parseAddressList(article.to)
|
|
||||||
if localRecipients
|
|
||||||
recipients = recipients.concat localRecipients
|
|
||||||
if article.from
|
if article.from
|
||||||
localRecipients = emailAddresses.parseAddressList(article.from)
|
localRecipients = emailAddresses.parseAddressList(article.from)
|
||||||
if localRecipients
|
if localRecipients
|
||||||
recipients = recipients.concat localRecipients
|
recipients.push recipients.concat localRecipients
|
||||||
|
if article.to
|
||||||
|
localRecipients = emailAddresses.parseAddressList(article.to)
|
||||||
|
if localRecipients
|
||||||
|
recipients.push recipients.concat localRecipients
|
||||||
if article.cc
|
if article.cc
|
||||||
localRecipients = emailAddresses.parseAddressList(article.cc)
|
localRecipients = emailAddresses.parseAddressList(article.cc)
|
||||||
if localRecipients
|
if localRecipients
|
||||||
recipients = recipients.concat localRecipients
|
recipients.push recipients.concat localRecipients
|
||||||
if recipients.length > 1
|
if recipients.length > 1
|
||||||
actions.push {
|
actions.push {
|
||||||
name: 'reply all'
|
name: 'reply all'
|
||||||
|
|
Loading…
Reference in a new issue