diff options
author | xue <> | 2008-03-11 15:44:18 +0000 |
---|---|---|
committer | xue <> | 2008-03-11 15:44:18 +0000 |
commit | 571e32211bfe035eda916f288384d029c378fa4b (patch) | |
tree | e5541267731d1932d31afe626505abfd7c4661f1 /framework/Web | |
parent | 485c88300e852452421ac5686934b75252657636 (diff) |
Fixed #808.
Diffstat (limited to 'framework/Web')
-rw-r--r-- | framework/Web/Javascripts/source/prado/validator/validation3.js | 14 |
1 files changed, 3 insertions, 11 deletions
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);
}
});
|