diff options
author | ctrlaltca@gmail.com <> | 2012-01-25 08:28:18 +0000 |
---|---|---|
committer | ctrlaltca@gmail.com <> | 2012-01-25 08:28:18 +0000 |
commit | 1debfb6d53165655a994d5069318e1bc20a6198d (patch) | |
tree | c92b3c712d1ecf99dcf21ca3bfcadecb6ca41cef /framework/Web/UI/ActiveControls | |
parent | 82769165658074feb6409cd59aab7505fb319c61 (diff) |
fix for #381
Diffstat (limited to 'framework/Web/UI/ActiveControls')
-rwxr-xr-x | framework/Web/UI/ActiveControls/TActiveDatePicker.php | 5 |
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; |