[BUGFIX] Load date-time picker in scheduler module 65/17765/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Mon, 28 Jan 2013 14:59:39 +0000 (15:59 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 28 Jan 2013 15:07:48 +0000 (16:07 +0100)
The date-time picker must be loaded explicitly.

Fix for regression #31027 that was introduced to 4.5 with
issue #33629

Change-Id: I06014d1a3ed9ce6584272632f1532ba1bcf92843
Fixes: #31027
Related: #33629
Releases: 4.5
Reviewed-on: https://review.typo3.org/17765
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/scheduler/mod1/index.php

index 354779e..726c5f5 100755 (executable)
@@ -720,6 +720,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(