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 | |
parent | 82769165658074feb6409cd59aab7505fb319c61 (diff) |
fix for #381
-rw-r--r-- | HISTORY | 1 | ||||
-rwxr-xr-x | framework/Web/UI/ActiveControls/TActiveDatePicker.php | 5 |
2 files changed, 5 insertions, 1 deletions
@@ -62,6 +62,7 @@ ENH: Issue #372 - ActiveControls's Visible property should be reflected clientsi BUG: Issue #375 - Iconv error using htmlarea in TActiveDataList and chars like "áéíóúñ" (ctrlaltca) BUG: Issue #377 - THtmlArea Template Pluggin Options Parse Error (ctrlaltca) BUG: Issue #380 - TCustomValidator's ControlToValidate should be optional (ctrlaltca) +BUG: Issue #381 - The property CausesValidation in the TActiveDatePicker not work (ctrlaltca) Version 3.1.10 Jul 17, 2011 BUG: Added missing timeout on TCacheHttpSession (ctrlaltca) 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; |