emile 10 months ago
parent e85efcaa7f
commit b1d4bf6441

Binary file not shown.

@ -27,6 +27,7 @@ function app() {
// Set the textarea value to the wrapper div's outerHTML // Set the textarea value to the wrapper div's outerHTML
document.getElementById('textEditor').value = wrapperDiv.outerHTML; document.getElementById('textEditor').value = wrapperDiv.outerHTML;
console.log(wrapperDiv)
}, },
setDirection: function(direction) { setDirection: function(direction) {
// Remove both classes first // Remove both classes first
@ -43,6 +44,7 @@ function app() {
this.wysiwyg.contentDocument.body.style.direction = direction; this.wysiwyg.contentDocument.body.style.direction = direction;
this.updateTextarea(); this.updateTextarea();
} }
} }
} }

@ -64,7 +64,7 @@ def send_update(update_id):
subject = f"New Ticket Update: {update.ticket.title}" subject = f"New Ticket Update: {update.ticket.title}"
html_message = render_to_string('email_templates/new-ticket-update.html', { html_message = render_to_string('email_templates/new-ticket-update.html', {
'update': update, 'update': update,
'usee': customer.user 'user': customer.user
}) })
plain_message = strip_tags(html_message) plain_message = strip_tags(html_message)
from_email = settings.DEFAULT_FROM_EMAIL from_email = settings.DEFAULT_FROM_EMAIL

Loading…
Cancel
Save