Fix: disable "datetimepicker" from edit in place for the moment

This commit is contained in:
Regis Houssin 2013-01-22 18:04:04 +01:00
parent f0361b9c4c
commit bfe57b21b0

View File

@ -134,8 +134,7 @@ class Form
$ret='';
// When option to edit inline is activated
// TODO change for compatibility
if (! empty($conf->global->MAIN_USE_JQUERY_JEDITABLE) && ! preg_match('/^select;/',$typeofdata))
if (! empty($conf->global->MAIN_USE_JQUERY_JEDITABLE) && ! preg_match('/^select;|datehourpicker/',$typeofdata)) // FIXME add jquery timepicker
{
$ret.=$this->editInPlace($object, $value, $htmlname, $perm, $typeofdata, $editvalue, $extObject, $success);
}