diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index c29c0f9e924..faf26f7c111 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -4803,8 +4803,10 @@ class Form
{
$retstring.="'."\n";
- // Add datepicker default options (needed by jquery datepicker!)
- /*if (! defined('DISABLE_DATE_PICKER'))
- {
- print ''."\n";
- }*/
-
// JS forced by modules (relative url starting with /)
if (! empty($conf->modules_parts['js'])) // $conf->modules_parts['js'] is array('module'=>array('file1','file2'))
{