CKeditor API change, #24622
[freeside.git] / httemplate / edit / msg_template.html
index 7205ba8..fa375a0 100644 (file)
@@ -328,8 +328,8 @@ my $widget = new HTML::Widgets::SelectLayers(
 my $sidebar = '
 <SCRIPT TYPE="text/javascript">
 function insertHtml(what) {
-  var oEditor = FCKeditorAPI.GetInstance("body");
-  oEditor.InsertHtml(what);
+  var oEditor = CKEDITOR.instances["body"];
+  oEditor.insertHtml(what);
 };
 
 function areyousure(url, message) {