diff --git a/osinaweb/db.sqlite3 b/osinaweb/db.sqlite3 index 29921dfe..efa7d4ad 100644 Binary files a/osinaweb/db.sqlite3 and b/osinaweb/db.sqlite3 differ diff --git a/osinaweb/static/js/inputs/text-editor.js b/osinaweb/static/js/inputs/text-editor.js index 3c69feb3..080a4a7e 100644 --- a/osinaweb/static/js/inputs/text-editor.js +++ b/osinaweb/static/js/inputs/text-editor.js @@ -27,6 +27,7 @@ function app() { // Set the textarea value to the wrapper div's outerHTML document.getElementById('textEditor').value = wrapperDiv.outerHTML; + console.log(wrapperDiv) }, setDirection: function(direction) { // Remove both classes first @@ -43,6 +44,7 @@ function app() { this.wysiwyg.contentDocument.body.style.direction = direction; this.updateTextarea(); + } } } diff --git a/osinaweb/support/__pycache__/models.cpython-310.pyc b/osinaweb/support/__pycache__/models.cpython-310.pyc index ec3f6a48..18dbdaf6 100644 Binary files a/osinaweb/support/__pycache__/models.cpython-310.pyc and b/osinaweb/support/__pycache__/models.cpython-310.pyc differ diff --git a/osinaweb/support/models.py b/osinaweb/support/models.py index 9bb20709..c96de786 100644 --- a/osinaweb/support/models.py +++ b/osinaweb/support/models.py @@ -64,7 +64,7 @@ def send_update(update_id): subject = f"New Ticket Update: {update.ticket.title}" html_message = render_to_string('email_templates/new-ticket-update.html', { 'update': update, - 'usee': customer.user + 'user': customer.user }) plain_message = strip_tags(html_message) from_email = settings.DEFAULT_FROM_EMAIL