diff options
Diffstat (limited to 'framework/Web/UI/ActiveControls/TActiveDatePicker.php')
-rwxr-xr-x | framework/Web/UI/ActiveControls/TActiveDatePicker.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/framework/Web/UI/ActiveControls/TActiveDatePicker.php b/framework/Web/UI/ActiveControls/TActiveDatePicker.php index 3d803664..38796a5e 100755 --- a/framework/Web/UI/ActiveControls/TActiveDatePicker.php +++ b/framework/Web/UI/ActiveControls/TActiveDatePicker.php @@ -107,12 +107,16 @@ class TActiveDatePicker extends TDatePicker implements ICallbackEventHandler, I /** * Registers the javascript code to initialize the date picker. */ - protected function registerCalendarClientScript() + + protected function registerCalendarClientScriptPre() { - $cs = $this->getPage()->getClientScript(); $cs->registerPradoScript("activedatepicker"); + } + protected function registerCalendarClientScriptPost() + { + $cs = $this->getPage()->getClientScript(); if(!$cs->isEndScriptRegistered('TDatePicker.spacer')) { $spacer = $this->getAssetUrl('spacer.gif'); |