fix 12077 Carousel update not possible
We have to make sure the TinyMCE updates the underlying textarea before we grab the text from it
This commit is contained in:
parent
0e48d22b80
commit
5f090fe69c
2 changed files with 4 additions and 0 deletions
|
|
@ -95,6 +95,9 @@ WebGUI.Carousel.Editor.prototype.handleSubmit
|
|||
item.itemId = id.value;
|
||||
|
||||
var text = elem.getElementsByTagName( 'textarea' )[0];
|
||||
// Force the TinyMCE to update the textarea
|
||||
tinyMCE.getInstanceById( text.id ).save();
|
||||
|
||||
item.text = text.value;
|
||||
|
||||
item.sequenceNumber = i;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue