summaryrefslogtreecommitdiff
path: root/framework/Web/UI
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI')
-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;