summaryrefslogtreecommitdiff
path: root/framework/Web/UI/ActiveControls/TActiveDatePicker.php
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-06-25 09:08:40 +0000
committerctrlaltca@gmail.com <>2011-06-25 09:08:40 +0000
commitcda44920115f2aadd7c3fbe2df13cb48a2cbc0c5 (patch)
treeb367d872dcf3cec40497f4d6755ce7bb47312058 /framework/Web/UI/ActiveControls/TActiveDatePicker.php
parent87e7366d4d9d3de79772b851f8772a4011d6227d (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-xframework/Web/UI/ActiveControls/TActiveDatePicker.php8
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');