summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/source
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2014-04-21 12:09:30 +0200
committerFabio Bas <ctrlaltca@gmail.com>2014-04-21 12:09:30 +0200
commitc66097eac2c2691bf0047829275962ec0bf2b41f (patch)
treebc4a58dc5ead4c61140ababe465f13864fb37cb1 /framework/Web/Javascripts/source
parentf95623e43ce5829b91d1fde0e7978aca96e3e936 (diff)
Fixed #516 , added test case
Diffstat (limited to 'framework/Web/Javascripts/source')
-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;