summaryrefslogtreecommitdiff
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
parent82769165658074feb6409cd59aab7505fb319c61 (diff)
fix for #381
-rw-r--r--HISTORY1
-rwxr-xr-xframework/Web/UI/ActiveControls/TActiveDatePicker.php5
2 files changed, 5 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index 1ad20199..e90a7bf0 100644
--- a/HISTORY
+++ b/HISTORY
@@ -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;