diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index bd6f11d0e40..6e331bc0a0e 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -135,8 +135,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);
}