From ab280feaa56d97650e3a9342dfcf6a96907418b8 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 13 Oct 2017 22:37:30 +0200 Subject: [PATCH] Move datepicker vars into lib_heas.js.php --- htdocs/core/class/html.form.class.php | 4 +- htdocs/core/js/datepicker.js.php | 151 -------------------------- htdocs/core/js/lib_head.js.php | 33 ++++++ htdocs/main.inc.php | 6 - 4 files changed, 36 insertions(+), 158 deletions(-) delete mode 100644 htdocs/core/js/datepicker.js.php 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')) {