This commit is contained in:
Florian HENRY
2015-02-11 11:48:11 +01:00
parent db94860f76
commit db2dee7c03
2 changed files with 2 additions and 2 deletions

View File

@@ -172,7 +172,7 @@ class DolEditor
//$skin='kama';
$skin='moono'; // default with cdeditor 4
$htmlencode_force=preg_match('/_encoded$/',$this->toolbarname)?'true':'false';
$out.= '<script type="text/javascript">
$(document).ready(function () {

View File

@@ -616,7 +616,7 @@ class FormMail
$this->substit['__SIGNATURE__'] = dol_nl2br($this->substit['__SIGNATURE__']);
} else if(!dol_textishtml($defaultmessage) && dol_textishtml($this->substit['__SIGNATURE__'])) {
$defaultmessage = dol_nl2br($defaultmessage);
}
}
if (dol_textishtml($defaultmessage) && $from_template) {
$allow_content=1;