From d4df553e7163f8bc8f09f79e058d5815f35ce709 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sun, 15 Apr 2007 12:21:24 +0000 Subject: fixed a type about TApplicationMode --- framework/Web/Javascripts/js/debug/validator.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/Web/Javascripts/js/debug/validator.js') diff --git a/framework/Web/Javascripts/js/debug/validator.js b/framework/Web/Javascripts/js/debug/validator.js index 7d17eeda..6fc06903 100644 --- a/framework/Web/Javascripts/js/debug/validator.js +++ b/framework/Web/Javascripts/js/debug/validator.js @@ -1223,9 +1223,9 @@ Prado.WebUI.TRangeValidator = Class.extend(Prado.WebUI.TBaseValidator, var valid = true; if(min != null) - valid = valid && value >= min; + valid = valid && (this.options.StrictComparison ? value > min : value >= min); if(max != null) - valid = valid && value <= max; + valid = valid && (this.options.StrictComparison ? value < max : value <= max); return valid; } }); -- cgit v1.2.3