Reponsive

This commit is contained in:
Laurent Destailleur 2019-12-04 15:49:22 +01:00
parent e073a2378b
commit b78f310508
2 changed files with 4 additions and 1 deletions

View File

@ -192,6 +192,7 @@ class DolEditor
$out.= '<!-- Output ckeditor $disallowAnyContent='.$disallowAnyContent.' toolbarname='.$this->toolbarname.' -->'."\n";
$out.= '<script type="text/javascript">
$(document).ready(function () {
console.log("Run ckeditor");
/* if (CKEDITOR.loadFullCore) CKEDITOR.loadFullCore(); */
/* should be editor=CKEDITOR.replace but what if serveral editors ? */
CKEDITOR.replace(\''.$this->htmlname.'\',
@ -225,6 +226,7 @@ class DolEditor
});
}
}';
if ($this->uselocalbrowser)
{
$out.= ','."\n";

View File

@ -1185,7 +1185,7 @@ else
print '</table>';
print '<br>';
print '<hr>';
if (!empty($conf->global->PRODUIT_MULTIPRICES))
{
@ -1198,6 +1198,7 @@ else
print $form->load_tva("tva_tx", $defaultva, $mysoc, $mysoc, 0, 0, '', false, 1);
print '</td></tr>';
print '</table>';
print '<br>';
}
else