remove duplicate code

This commit is contained in:
jpb
2021-08-20 14:05:22 +02:00
parent fcd485f614
commit d9a07acfa3

View File

@@ -752,7 +752,6 @@ if (!empty($usemargins) && $user->rights->margins->creer) {
if (!empty($conf->global->FCKEDITOR_ENABLE_DETAILS)) { ?>
if (typeof CKEDITOR == "object" && typeof CKEDITOR.instances != "undefined")
{
var editor = CKEDITOR.instances['dp_desc'];
var editor = CKEDITOR.instances['dp_desc'];
if (editor) {
editor.setData(proddesc);