[freeside-commits] branch FREESIDE_3_BRANCH updated. 3be960f69d36d11f6f080e9e28ed167996df4f26

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


The branch, FREESIDE_3_BRANCH has been updated
       via  3be960f69d36d11f6f080e9e28ed167996df4f26 (commit)
      from  92fec248ff22a3c2c805e85d94daaff70a53d960 (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 3be960f69d36d11f6f080e9e28ed167996df4f26
Author: Mark Wells <mark at freeside.biz>
Date:   Wed Aug 28 11:21:37 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