From bfe57b21b0e48b42b883c2fe35ff7c06bb206238 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Tue, 22 Jan 2013 18:04:04 +0100 Subject: [PATCH] Fix: disable "datetimepicker" from edit in place for the moment --- htdocs/core/class/html.form.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index d050c7e0510..a804948bf1d 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -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); }