Details
-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 3.3
-
Fix Version/s: None
-
Component/s: ACE-Components
-
Labels:None
-
Environment:All Browsers, JBoss AS 7.1.1
-
Workaround Exists:Yes
-
Workaround Description:Use h:commandButton instead and style it like a pushButton.
Description
The saveOnSubmit from the richTextEntry doesn't work if the form will be submitted by an ace:pushButton.
Yes it's true also for Icefaces 4 from trunk , rev. 41800.
This is because push event is called before richtextentry.js/onBlur is executed.
Problem is well known http://ckeditor.com/forums/CKEditor/CKEditor.editable.blur-or-other-scheme-to-detect-user-left-the-editor.
Workaround is simply
editorInstance.on('change', onBlur);
after this line
editorInstance.on('blur', onBlur);