Added content_type to ticket_articles.
This commit is contained in:
parent
f8340b3b3b
commit
cfc06fe1a8
3 changed files with 27 additions and 24 deletions
|
@ -337,6 +337,7 @@ class App.TicketCreate extends App.Controller
|
||||||
type_id: type.id
|
type_id: type.id
|
||||||
sender_id: sender.id
|
sender_id: sender.id
|
||||||
form_id: @form_id
|
form_id: @form_id
|
||||||
|
content_type: 'text/html'
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
params['article'] = {
|
params['article'] = {
|
||||||
|
@ -348,6 +349,7 @@ class App.TicketCreate extends App.Controller
|
||||||
type_id: type.id
|
type_id: type.id
|
||||||
sender_id: sender.id
|
sender_id: sender.id
|
||||||
form_id: @form_id
|
form_id: @form_id
|
||||||
|
content_type: 'text/html'
|
||||||
}
|
}
|
||||||
|
|
||||||
ticket.load(params)
|
ticket.load(params)
|
||||||
|
|
|
@ -185,6 +185,7 @@ class Index extends App.ControllerContent
|
||||||
type_id: type.id
|
type_id: type.id
|
||||||
sender_id: sender.id
|
sender_id: sender.id
|
||||||
form_id: @form_id
|
form_id: @form_id
|
||||||
|
content_type: 'text/html'
|
||||||
}
|
}
|
||||||
|
|
||||||
ticket.load(params)
|
ticket.load(params)
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
|
|
||||||
<div class="text-bubble">
|
<div class="text-bubble">
|
||||||
<div class="bubble-arrow"></div>
|
<div class="bubble-arrow"></div>
|
||||||
<div class="js-textarea ticketEdit-body" contenteditable="true" data-name="body"><%= @article.body %></div>
|
<div class="js-textarea ticketEdit-body" contenteditable="true" data-name="body"><%- @article.body %></div>
|
||||||
<!-- .text-bubble grows with textarea (and expanding clone) -->
|
<!-- .text-bubble grows with textarea (and expanding clone) -->
|
||||||
<div class="attachments"></div>
|
<div class="attachments"></div>
|
||||||
<div class="article-attachment u-unclickable u-textTruncate">
|
<div class="article-attachment u-unclickable u-textTruncate">
|
||||||
|
|
Loading…
Reference in a new issue