From e392ecbf6e422825083bc7204eacb7090619a47c Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 21 Apr 2006 12:36:06 +0000 Subject: Merge from 3.0 branch till 953. --- framework/Web/UI/WebControls/TRangeValidator.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'framework/Web/UI/WebControls/TRangeValidator.php') diff --git a/framework/Web/UI/WebControls/TRangeValidator.php b/framework/Web/UI/WebControls/TRangeValidator.php index 7ded3e71..56cc16bc 100644 --- a/framework/Web/UI/WebControls/TRangeValidator.php +++ b/framework/Web/UI/WebControls/TRangeValidator.php @@ -271,11 +271,11 @@ class TRangeValidator extends TBaseValidator protected function getClientScriptOptions() { $options=parent::getClientScriptOptions(); - $options['minimumvalue']=$this->getMinValue(); - $options['maximumvalue']=$this->getMaxValue(); - $options['type']=$this->getDataType(); + $options['MinValue']=$this->getMinValue(); + $options['MaxValue']=$this->getMaxValue(); + $options['DataType']=$this->getDataType(); if(($dateFormat=$this->getDateFormat())!=='') - $options['dateformat']=$dateFormat; + $options['DateFormat']=$dateFormat; return $options; } } -- cgit v1.2.3