From 571e32211bfe035eda916f288384d029c378fa4b Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 11 Mar 2008 15:44:18 +0000 Subject: Fixed #808. --- .../Web/Javascripts/source/prado/validator/validation3.js | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'framework/Web/Javascripts/source') diff --git a/framework/Web/Javascripts/source/prado/validator/validation3.js b/framework/Web/Javascripts/source/prado/validator/validation3.js index 75681562..c7b23040 100644 --- a/framework/Web/Javascripts/source/prado/validator/validation3.js +++ b/framework/Web/Javascripts/source/prado/validator/validation3.js @@ -987,17 +987,9 @@ Prado.WebUI.TRequiredFieldValidator = Class.extend(Prado.WebUI.TBaseValidator, */ evaluateIsValid : function() { - var inputType = this.control.getAttribute("type"); - if(inputType == 'file') - { - return true; - } - else - { - var a = this.getValidationValue(); - var b = this.trim(this.options.InitialValue); - return(a != b); - } + var a = this.getValidationValue(); + var b = this.trim(this.options.InitialValue); + return(a != b); } }); -- cgit v1.2.3