Improved split of tickets.
This commit is contained in:
parent
a25e977edc
commit
a400ae3262
2 changed files with 11 additions and 6 deletions
|
@ -173,7 +173,12 @@ class App.TicketCreate extends App.Controller
|
|||
t.owner_id = 0
|
||||
t.customer_id_completion = a.from
|
||||
t.subject = a.subject || t.title
|
||||
|
||||
# convert non text/html from text 2 html
|
||||
if a.content_type.match(/\/html/)
|
||||
t.body = a.body
|
||||
else
|
||||
t.body = App.Utils.text2html( a.body )
|
||||
|
||||
# render page
|
||||
@render( options: t )
|
||||
|
|
Loading…
Reference in a new issue