CKeditor API change, #24622
authorMark Wells <mark@freeside.biz>
Wed, 28 Aug 2013 18:21:17 +0000 (11:21 -0700)
committerMark Wells <mark@freeside.biz>
Wed, 28 Aug 2013 18:21:17 +0000 (11:21 -0700)
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) {