remove duplicate code
This commit is contained in:
parent
fcd485f614
commit
d9a07acfa3
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user