Fix: Disable is not complete

This commit is contained in:
Laurent Destailleur 2011-10-28 01:16:23 +02:00
parent 035730acdc
commit 4439205375

View File

@ -153,12 +153,12 @@ class Form
*/
function editInPlace($value, $htmlname, $condition, $type='area')
{
global $user;
global $conf,$user;
$out='';
$value = ($value ? $value : " ");
if ($condition)
if (! empty($conf->global->MAIN_USE_JQUERY_JEDITABLE) && $condition)
{
$out.= '<div class="edit_'.$type.'" id="'.$htmlname.'">';
$out.= $value;