diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index ec0eba6c611..8a5937178ff 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -772,13 +772,6 @@ if ($_GET["id"] || $_GET["ref"]) { print ''; } - - if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_PRODUCTDESC) - { - print ' '; - print '
'; - print ''; - } // Description print ''.$langs->trans("Description").''; @@ -786,7 +779,7 @@ if ($_GET["id"] || $_GET["ref"]) if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_PRODUCTDESC) { require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php"); - $doleditor=new DolEditor('desc',$product->description,200,'dolibarr_notes','Out:xToolbar',true); + $doleditor=new DolEditor('desc',$product->description,200,'dolibarr_notes'); $doleditor->Create(); } else @@ -818,7 +811,7 @@ if ($_GET["id"] || $_GET["ref"]) if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_PRODUCTDESC) { require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php"); - $doleditor=new DolEditor('note',$product->note,200,'dolibarr_notes','Out:xToolbar',true); + $doleditor=new DolEditor('note',$product->note,200,'dolibarr_notes'); $doleditor->Create(); } else