summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2014-04-21 12:09:30 +0200
committerDavid <ottodavid@gmx.net>2014-08-22 12:41:54 +0200
commitb7614a9c62f9e6597ea83bdc6901693efb74e68a (patch)
treebb5bfe1adb4037904df3185a53a8abbf7de42f01 /framework/Web/Javascripts
parente3811f0ba597a2b3fe477000f7f54bf75680fbe1 (diff)
Fixed #516 , added test case
(cherry picked from commit c66097eac2c2691bf0047829275962ec0bf2b41f)
Diffstat (limited to 'framework/Web/Javascripts')
-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 0361389f..483c7ec2 100644
--- a/framework/Web/Javascripts/source/prado/validator/validation3.js
+++ b/framework/Web/Javascripts/source/prado/validator/validation3.js
@@ -979,7 +979,7 @@ Prado.WebUI.TBaseValidator = Class.create(Prado.WebUI.Control,
if(!this.control)
this.control = $(this.options.ControlToValidate);
- if(!this.control || this.control.disabled)
+ if(!this.control || this.control.disabled || !this.control.descendantOf(document))
{
this.isValid = true;
return this.isValid;