Author: alevkovsky
Date: 2008-11-24 05:27:26 -0500 (Mon, 24 Nov 2008)
New Revision: 11315
Modified:
trunk/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/editor.js
trunk/ui/editor/src/main/templates/editor.jspx
Log:
Editor: Fix js error in IE
Modified:
trunk/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/editor.js
===================================================================
---
trunk/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/editor.js 2008-11-23
21:57:03 UTC (rev 11314)
+++
trunk/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/editor.js 2008-11-24
10:27:26 UTC (rev 11315)
@@ -75,7 +75,7 @@
});
Richfaces.Editor.SeamTextConfiguration = {
- plugins :
"safari,spellchecker,style,table,save,advhr,advimage,advlink,iespell,inlinepopups,insertdatetime,preview,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template",
+ plugins :
"safari,spellchecker,style,table,save,advhr,advimage,advlink,iespell,inlinepopups,insertdatetime,preview,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template"
// Theme options
//theme_advanced_buttons1 :
"save,newdocument,|,bold,italic,underline,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,|,cut,copy,paste,pastetext,pasteword",
Modified: trunk/ui/editor/src/main/templates/editor.jspx
===================================================================
--- trunk/ui/editor/src/main/templates/editor.jspx 2008-11-23 21:57:03 UTC (rev 11314)
+++ trunk/ui/editor/src/main/templates/editor.jspx 2008-11-24 10:27:26 UTC (rev 11315)
@@ -32,9 +32,7 @@
<f:call name="writeEditorConfigurationAttributes" />
<f:call name="writeEditorParameters" />
- var richParams = {extScriptSuffix :
'#{this:getSriptMappingSuffix(context)}',
- extCssSuffix : '#{this:getCssMappingSuffix(context)}',
- useSeamText : #{component.attributes['useSeamText']}}
+ var richParams = {extScriptSuffix :
'#{this:getSriptMappingSuffix(context)}', extCssSuffix :
'#{this:getCssMappingSuffix(context)}', useSeamText :
#{component.attributes['useSeamText']}};
new RichEditor('#{clientId}', richParams, tinyMceParams);
</script>