diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 1d9b1b79520..99fbe2c5bb2 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -3297,7 +3297,7 @@ class Form // Generate the date part, depending on the use or not of the javascript calendar if (empty($conf->global->MAIN_POPUP_CALENDAR) || $conf->global->MAIN_POPUP_CALENDAR == "eldy") { - $base=DOL_URL_ROOT.'/core/lib/'; + $base=DOL_URL_ROOT.'/core/'; $reset_scripts .= 'resetDP(\''.$base.'\',\''.$prefix.'\',\''.$langs->trans("FormatDateShortJava").'\',\''.$langs->defaultlang.'\');'; } else