diff options
-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; |