Author: pyaschenko
Date: 2008-10-30 07:35:59 -0400 (Thu, 30 Oct 2008)
New Revision: 10979
Modified:
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/editor.js
Log:
Modified:
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/editor.js
===================================================================
---
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/editor.js 2008-10-30
11:08:44 UTC (rev 10978)
+++
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/editor.js 2008-10-30
11:35:59 UTC (rev 10979)
@@ -20,12 +20,11 @@
this.tinyMCE_editor = null;
this.onInitInstanceCallbackFunction = tinyparams.onInitInstanceCallback;
- tinyMCE.init({
- mode: 'exact',
- elements: this.editorTextAreaId,
- theme: tinyparams.theme,
- init_instance_callback : this.onInitInstanceCallback.bind(this)
- });
+ tinyparams.mode = 'exact';
+ tinyparams.elements = this.editorTextAreaId;
+ tinyparams.init_instance_callback = this.onInitInstanceCallback.bind(this);
+
+ tinyMCE.init(tinyparams);
this.onBeforeAjaxListener = new A4J.AJAX.AjaxListener("onbeforeajax",
this.onBeforeAjax.bind(this));
A4J.AJAX.AddListener(this.onBeforeAjaxListener);
Show replies by date