summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/source
diff options
context:
space:
mode:
authorxue <>2007-07-27 19:37:47 +0000
committerxue <>2007-07-27 19:37:47 +0000
commit5971cea3c452efc18206aa36ef4914c7e49f87e0 (patch)
tree0355ce9737163c2eb2563bcbd5aa8de14b4578ec /framework/Web/Javascripts/source
parent162d442316c8a9e6c161b589f04332691e57c7f7 (diff)
Validators will not validate disabled controls
Diffstat (limited to 'framework/Web/Javascripts/source')
-rw-r--r--framework/Web/Javascripts/source/prado/validator/validation3.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/Javascripts/source/prado/validator/validation3.js b/framework/Web/Javascripts/source/prado/validator/validation3.js
index b9c2e0af..5167f351 100644
--- a/framework/Web/Javascripts/source/prado/validator/validation3.js
+++ b/framework/Web/Javascripts/source/prado/validator/validation3.js
@@ -625,7 +625,7 @@ Prado.WebUI.TBaseValidator.prototype =
this.visible = true;
if(this.message)
{
- if(this.options.Display == "Dynamic")
+ if(this.options.Display == "Dynamic")
{
var msg=this.message;
this.isValid ? setTimeout(function() { msg.hide(); }, 250) : msg.show();
@@ -684,7 +684,7 @@ Prado.WebUI.TBaseValidator.prototype =
if(!this.control)
this.control = $(this.options.ControlToValidate);
- if(!this.control)
+ if(!this.control || this.control.disabled)
{
this.isValid = true;
return this.isValid;