summaryrefslogtreecommitdiff
path: root/framework/Web/UI/ActiveControls
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2012-01-25 08:28:18 +0000
committerctrlaltca@gmail.com <>2012-01-25 08:28:18 +0000
commit1debfb6d53165655a994d5069318e1bc20a6198d (patch)
treec92b3c712d1ecf99dcf21ca3bfcadecb6ca41cef /framework/Web/UI/ActiveControls
parent82769165658074feb6409cd59aab7505fb319c61 (diff)
fix for #381
Diffstat (limited to 'framework/Web/UI/ActiveControls')
-rwxr-xr-xframework/Web/UI/ActiveControls/TActiveDatePicker.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/framework/Web/UI/ActiveControls/TActiveDatePicker.php b/framework/Web/UI/ActiveControls/TActiveDatePicker.php
index 38796a5e..7d10902b 100755
--- a/framework/Web/UI/ActiveControls/TActiveDatePicker.php
+++ b/framework/Web/UI/ActiveControls/TActiveDatePicker.php
@@ -36,8 +36,11 @@ class TActiveDatePicker extends TDatePicker implements ICallbackEventHandler, I
* Get javascript date picker options.
* @return array date picker client-side options
*/
- protected function getDatePickerOptions(){
+ protected function getDatePickerOptions()
+ {
$options = parent::getDatePickerOptions();
+ $options['CausesValidation']=$this->getCausesValidation();
+ $options['ValidationGroup']=$this->getValidationGroup();
$options['EventTarget'] = $this->getUniqueID();
$options['ShowCalendar'] = $this->getShowCalendar();
return $options;