Fix: broken feature with edit in place
This commit is contained in:
parent
dab264c641
commit
2d13b5b59d
@ -282,7 +282,7 @@ class Form
|
|||||||
$out='';
|
$out='';
|
||||||
|
|
||||||
// Check parameters
|
// Check parameters
|
||||||
if ($inputType == 'textarea') $value = dol_nl2br($value);
|
if (preg_match('/^text/',$inputType)) $value = dol_nl2br($value);
|
||||||
else if (preg_match('/^numeric/',$inputType)) $value = price($value);
|
else if (preg_match('/^numeric/',$inputType)) $value = price($value);
|
||||||
else if ($inputType == 'day' || $inputType == 'datepicker') $value = dol_print_date($value, 'day');
|
else if ($inputType == 'day' || $inputType == 'datepicker') $value = dol_print_date($value, 'day');
|
||||||
|
|
||||||
|
|||||||
@ -71,7 +71,7 @@ elseif ($module == 'shipping') { $permission=$user->rights->expedition->cr
|
|||||||
elseif ($module == 'product') { $permission=$user->rights->produit->creer;}
|
elseif ($module == 'product') { $permission=$user->rights->produit->creer;}
|
||||||
//else dol_print_error('','Bad value '.$module.' for param module');
|
//else dol_print_error('','Bad value '.$module.' for param module');
|
||||||
|
|
||||||
if (! empty($conf->global->FCKEDITOR_ENABLE_SOCIETE)) $typeofdata='ckeditor:dolibarr_notes:100%:200::1:12:95%'; // Rem: This var is for all notes, not only thirdparties note.
|
if (! empty($conf->fckeditor->enabled) && ! empty($conf->global->FCKEDITOR_ENABLE_SOCIETE)) $typeofdata='ckeditor:dolibarr_notes:100%:200::1:12:95%'; // Rem: This var is for all notes, not only thirdparties note.
|
||||||
else $typeofdata='textarea:12:95%';
|
else $typeofdata='textarea:12:95%';
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user