diff --git a/browser/loops.css b/browser/loops.css index 593549d..19728ec 100644 --- a/browser/loops.css +++ b/browser/loops.css @@ -386,13 +386,13 @@ div.comment { /* dojo stuff */ .dijitDialog { - background-color: #aaaaaaa; + background-color: #aaaaaa; border: 1px solid #999; padding: 5px; } .dijitDialogPaneContent { - background-color: #aaaaaaa; + background-color: #aaaaaa; } .dijitDialog th { diff --git a/browser/loops.js b/browser/loops.js index 86f5434..1345f4c 100644 --- a/browser/loops.js +++ b/browser/loops.js @@ -189,3 +189,19 @@ function inlineEdit(id) { editor = new dijit.Editor({}, dojo.byId(id)); } } + +// FCKeditor stuff + +function createFCKEditorInstance(fieldName, width, height) { + var editor = new FCKeditor(fieldName); + /*if (document.all) { + editor.Config['ToolbarStartExpanded'] = false; + }*/ + editor.BasePath = '/@@/fckeditor/'; + //editor.Config['SkinPath'] = editor.BasePath + 'editor/skins/office2003/'; + editor.Config['SkinPath'] = editor.BasePath + 'editor/skins/silver/'; + editor.ToolbarSet = 'Standard'; + editor.Width = width; + editor.Height = height; + editor.ReplaceTextarea(); +}