diff --git a/NEWS b/NEWS index 2ff80d636..74184adbc 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,9 @@ +2.2.4 (2014-MM-DD) +------------------ + +Bug fixes + - fixed saved HTML content of draft when attaching a file + 2.2.3 (2014-04-03) ------------------ diff --git a/UI/WebServerResources/UIxMailEditor.js b/UI/WebServerResources/UIxMailEditor.js index b442b50e1..91afb075c 100644 --- a/UI/WebServerResources/UIxMailEditor.js +++ b/UI/WebServerResources/UIxMailEditor.js @@ -424,6 +424,8 @@ function configureAttachments() { var attachment = createAttachment(file); if (attachment) { file.attachment = attachment; + // Update the text field when using HTML mode + if (CKEDITOR.instances.text) CKEDITOR.instances.text.updateElement(); data.submit(); } if (dropzone.is(":visible"))