[BUGFIX] Load date-time picker in Scheduler module
authorJigal van Hemert <jigal@xs4all.nl>
Tue, 18 Oct 2011 06:27:31 +0000 (08:27 +0200)
committerJigal van Hemert <jigal@xs4all.nl>
Tue, 18 Oct 2011 07:03:37 +0000 (09:03 +0200)
The date-time picker must be loaded explicitly.

Change-Id: I06014d1a3ed9ce6584272632f1532ba1bcf92843
Releases: 4.6
Fixes: #31027
Reviewed-on: http://review.typo3.org/5927
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
typo3/sysext/scheduler/class.tx_scheduler_module.php

index 02ef1aa..9c50b0f 100644 (file)
@@ -703,6 +703,7 @@ class tx_scheduler_Module extends t3lib_SCbase {
                $pageRenderer->loadExtJS();
                $pageRenderer->addJsFile(t3lib_extMgm::extRelPath('scheduler') . 'res/tx_scheduler_be.js');
                $pageRenderer->addJsFile($this->backPath . '../t3lib/js/extjs/tceforms.js');
+               $pageRenderer->addJsFile($this->backPath . '../t3lib/js/extjs/ux/Ext.ux.DateTimePicker.js');
 
                        // Define settings for Date Picker
                $typo3Settings = array(