Fix saved HTML content of draft uploading a file
parent
846212336a
commit
6e60bbb553
6
NEWS
6
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)
|
2.2.3 (2014-04-03)
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
|
|
|
@ -424,6 +424,8 @@ function configureAttachments() {
|
||||||
var attachment = createAttachment(file);
|
var attachment = createAttachment(file);
|
||||||
if (attachment) {
|
if (attachment) {
|
||||||
file.attachment = attachment;
|
file.attachment = attachment;
|
||||||
|
// Update the text field when using HTML mode
|
||||||
|
if (CKEDITOR.instances.text) CKEDITOR.instances.text.updateElement();
|
||||||
data.submit();
|
data.submit();
|
||||||
}
|
}
|
||||||
if (dropzone.is(":visible"))
|
if (dropzone.is(":visible"))
|
||||||
|
|
Loading…
Reference in New Issue