Skip to content
Snippets Groups Projects
Commit bb3632e9 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Pb with new ckeditor.

parent f1b05dd3
No related branches found
No related tags found
No related merge requests found
......@@ -1203,11 +1203,10 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs
{
print '<!-- Includes JS for CKEditor -->'."\n";
$pathckeditor=DOL_URL_ROOT.'/includes/ckeditor/';
$jsckeditor='ckeditor_basic.js';
$jsckeditor='ckeditor.js';
if (constant('JS_CKEDITOR')) // To use external ckeditor 4 js lib
{
$pathckeditor=constant('JS_CKEDITOR');
$jsckeditor='ckeditor.js';
}
print '<script type="text/javascript">';
print 'var CKEDITOR_BASEPATH = \''.$pathckeditor.'\';'."\n";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment