diff --git a/js/redactor-osticket.js b/js/redactor-osticket.js index de2a898253b7910d6c8f583c3023717df1c0e640..23b1ee76a4aaed7305df84ed4f974294dbe53139 100644 --- a/js/redactor-osticket.js +++ b/js/redactor-osticket.js @@ -343,6 +343,10 @@ $(function() { $(document).on('pjax:start', cleanupRedactorElements); }); +$(document).on('focusout.redactor', 'div.redactor_richtext', function (e) { + $(this).siblings('textarea').trigger('change'); +}); + $(document).ajaxError(function(event, request, settings) { if (settings.url.indexOf('ajax.php/draft') != -1 && settings.type.toUpperCase() == 'POST') {