Fix saved HTML content of draft uploading a file

pull/32/head
Francis Lachapelle 2014-04-04 16:47:46 -04:00
parent 846212336a
commit 6e60bbb553
2 changed files with 8 additions and 0 deletions

6
NEWS
View File

@ -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)
------------------

View File

@ -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"))