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.= ''; }