Skip to content
Snippets Groups Projects
Commit 5f135752 authored by srosse's avatar srosse
Browse files

OO-531: workaround to fix the freeze of the form in IE8 (but don't break in...

OO-531: workaround to fix the freeze of the form in IE8 (but don't break in other browsers) if a rich text editor is used
parent 3c73a973
No related branches found
No related tags found
No related merge requests found
......@@ -390,7 +390,8 @@ public class RichTextConfiguration implements Disposable {
plugins.add(SAFARI_PLUGIN);
// Start observing of diry richt text element and trigger calling of setFlexiFormDirty() method
// This check is initialized after the editor has fully loaded
addOnInitCallbackFunction(ONINIT_CALLBACK_VALUE_START_DIRTY_OBSERVER + ".curry('" + rootFormDispatchId + "','" + domID + "')");
addOnInitCallbackFunction(ONINIT_CALLBACK_VALUE_START_DIRTY_OBSERVER + "('" + rootFormDispatchId + "','" + domID + "')");
addOnInitCallbackFunction("tinyMCE.get('" + domID + "').focus()");
}
/**
......
......@@ -168,7 +168,6 @@ class RichTextElementRenderer implements ComponentRenderer {
// some special code to find out when the element is dirty. See the comments
// BTinyHelpers.js
sb.append("});");
sb.append("tinyMCE.get('").append(domID).append("').focus();");
sb.append("} };");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment