Fix popup on objects in modulebuilder

This commit is contained in:
Laurent Destailleur 2020-08-18 18:41:36 +02:00
parent 3e91d77920
commit 53522fb8dd

View File

@ -1995,7 +1995,7 @@ if ($module == 'initmodule')
print '<input type="hidden" name="tab" value="'.$tab.'">'; print '<input type="hidden" name="tab" value="'.$tab.'">';
print '<input type="hidden" name="module" value="'.$module.'">'; print '<input type="hidden" name="module" value="'.$module.'">';
dol_fiche_head($head2, $tab, '', -1, ''); dol_fiche_head($head2, $tab, '', -1, '', 0, '', '', 0, 'formodulesuffix');
$doleditor = new DolEditor('editfilecontent', $content, '', '300', 'Full', 'In', true, false, 'ace', 0, '99%', ''); $doleditor = new DolEditor('editfilecontent', $content, '', '300', 'Full', 'In', true, false, 'ace', 0, '99%', '');
print $doleditor->Create(1, '', false, $langs->trans("File").' : '.$file, (GETPOST('format', 'aZ09') ?GETPOST('format', 'aZ09') : 'html')); print $doleditor->Create(1, '', false, $langs->trans("File").' : '.$file, (GETPOST('format', 'aZ09') ?GETPOST('format', 'aZ09') : 'html'));
@ -2011,7 +2011,7 @@ if ($module == 'initmodule')
print '</form>'; print '</form>';
} }
} else { } else {
dol_fiche_head($head2, $tab, '', -1, ''); // Level 2 dol_fiche_head($head2, $tab, '', -1, '', 0, '', '', 0, 'formodulesuffix'); // Level 2
} }
if ($tab == 'languages') if ($tab == 'languages')