summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/Javascripts/source/prado/validator/validation3.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/Javascripts/source/prado/validator/validation3.js b/framework/Web/Javascripts/source/prado/validator/validation3.js
index d2269236..9f8c7a98 100644
--- a/framework/Web/Javascripts/source/prado/validator/validation3.js
+++ b/framework/Web/Javascripts/source/prado/validator/validation3.js
@@ -1011,7 +1011,7 @@ Prado.WebUI.TBaseValidator = jQuery.klass(Prado.WebUI.Control,
if(!this.control)
this.control = jQuery("#" + this.options.ControlToValidate).get(0);
- if(!this.control || this.control.disabled)
+ if(!this.control || this.control.disabled || !jQuery.contains(document, this.control))
{
this.isValid = true;
return this.isValid;