summaryrefslogtreecommitdiff
path: root/framework/Web/UI/ActiveControls
diff options
context:
space:
mode:
authorChristophe.Boulain <>2009-04-08 07:06:36 +0000
committerChristophe.Boulain <>2009-04-08 07:06:36 +0000
commitd042fed88e7ed55e2a7deee037c8073e6c545290 (patch)
tree00709c8d5b8283c676d8edc4e308c3aefc8d210d /framework/Web/UI/ActiveControls
parentbd2d05119734a7892485cfe3c7bc62a4a606ce6d (diff)
Fixed Issue#136
Diffstat (limited to 'framework/Web/UI/ActiveControls')
-rwxr-xr-xframework/Web/UI/ActiveControls/TActiveDatePicker.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/framework/Web/UI/ActiveControls/TActiveDatePicker.php b/framework/Web/UI/ActiveControls/TActiveDatePicker.php
index 052ed199..4ef43198 100755
--- a/framework/Web/UI/ActiveControls/TActiveDatePicker.php
+++ b/framework/Web/UI/ActiveControls/TActiveDatePicker.php
@@ -39,6 +39,7 @@ class TActiveDatePicker extends TDatePicker implements ICallbackEventHandler, I
protected function getDatePickerOptions(){
$options = parent::getDatePickerOptions();
$options['EventTarget'] = $this->getUniqueID();
+ $options['ShowCalendar'] = $this->getShowCalendar();
return $options;
}
@@ -108,8 +109,8 @@ class TActiveDatePicker extends TDatePicker implements ICallbackEventHandler, I
*/
protected function registerCalendarClientScript()
{
- if($this->getShowCalendar())
- {
+ // if($this->getShowCalendar())
+ // {
$cs = $this->getPage()->getClientScript();
$cs->registerPradoScript("activedatepicker");
@@ -123,7 +124,7 @@ class TActiveDatePicker extends TDatePicker implements ICallbackEventHandler, I
$options = TJavaScript::encode($this->getDatePickerOptions());
$code = "new Prado.WebUI.TActiveDatePicker($options);";
$cs->registerEndScript("prado:".$this->getClientID(), $code);
- }
+ // }
}
}
?>