diff options
author | ctrlaltca@gmail.com <> | 2011-06-25 09:08:40 +0000 |
---|---|---|
committer | ctrlaltca@gmail.com <> | 2011-06-25 09:08:40 +0000 |
commit | cda44920115f2aadd7c3fbe2df13cb48a2cbc0c5 (patch) | |
tree | b367d872dcf3cec40497f4d6755ce7bb47312058 /framework/Web/UI/ActiveControls/TActiveDatePicker.php | |
parent | 87e7366d4d9d3de79772b851f8772a4011d6227d (diff) |
applied further "progressive rendering" patches (#235)
added TFlushOutput component
fixed THtmlarea quickstart demo
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'); |