// Include datetime picker for all admin controllers

This commit is contained in:
Jerome Nadaud committed 2013-11-22 16:41:52 +01:00
1 parent 361450aab9
commit 3fe6608a62
5 files changed
+44 -7

No files matched your search

+6
View File
@@ -1966,12 +1966,18 @@ class AdminControllerCore extends Controller
$this->addJquery();
$this->addjQueryPlugin(array('cluetip', 'hoverIntent', 'scrollTo', 'alerts', 'chosen'));
$this->addJqueryUI(array(
'ui.slider',
'ui.datepicker'
));
$this->addJS(array(
_PS_JS_DIR_.'admin.js',
_PS_JS_DIR_.'toggle.js',
_PS_JS_DIR_.'tools.js',
_PS_JS_DIR_.'ajax.js',
_PS_JS_DIR_.'toolbar.js',
_PS_JS_DIR_.'jquery/plugins/timepicker/jquery-ui-timepicker-addon.js',
));
//loads specific javascripts for the admin theme, bootstrap.js should be moved into /js root directory