From bf9b7e909021a3611b9815757ed22a7d937e5049 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 22 Mar 2012 00:22:40 +0100 Subject: [PATCH] New: Can add more js during CKEditor creation --- htdocs/core/class/doleditor.class.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/htdocs/core/class/doleditor.class.php b/htdocs/core/class/doleditor.class.php index e26e68ee6c1..eb0e02b49b9 100644 --- a/htdocs/core/class/doleditor.class.php +++ b/htdocs/core/class/doleditor.class.php @@ -139,7 +139,7 @@ class DolEditor * Output depends on this->tool (fckeditor, ckeditor, texatrea, ...) * * @param int $noprint 1=Return HTML string instead of printing it to output - * @param string $morejs Add more js. For example: "editor.on( \'saveSnapshot\', function(e) { alert(\'ee\'); });" + * @param string $morejs Add more js. For example: ".on( \'saveSnapshot\', function(e) { alert(\'ee\'); });" * @return void */ function Create($noprint=0,$morejs='') @@ -173,7 +173,8 @@ class DolEditor $out.= ''; }