[freeside-commits] branch master updated. 31f3ba70c953bdd40119aa4d4c097ab6d05b5e6c

Mark Wells mark at 420.am
Wed Aug 28 11:21:57 PDT 2013


The branch, master has been updated
       via  31f3ba70c953bdd40119aa4d4c097ab6d05b5e6c (commit)
      from  06025b02ef920d4994442477ff43be7d2d6ae89b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 31f3ba70c953bdd40119aa4d4c097ab6d05b5e6c
Author: Mark Wells <mark at freeside.biz>
Date:   Wed Aug 28 11:21:17 2013 -0700

    CKeditor API change, #24622

diff --git a/httemplate/edit/msg_template.html b/httemplate/edit/msg_template.html
index 7205ba8..fa375a0 100644
--- a/httemplate/edit/msg_template.html
+++ b/httemplate/edit/msg_template.html
@@ -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) {

-----------------------------------------------------------------------

Summary of changes:
 httemplate/edit/msg_template.html |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)




More information about the freeside-commits mailing list