diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2014-04-21 12:09:30 +0200 |
---|---|---|
committer | David <ottodavid@gmx.net> | 2014-08-22 12:41:54 +0200 |
commit | b7614a9c62f9e6597ea83bdc6901693efb74e68a (patch) | |
tree | bb5bfe1adb4037904df3185a53a8abbf7de42f01 /framework | |
parent | e3811f0ba597a2b3fe477000f7f54bf75680fbe1 (diff) |
Fixed #516 , added test case
(cherry picked from commit c66097eac2c2691bf0047829275962ec0bf2b41f)
Diffstat (limited to 'framework')
-rw-r--r-- | framework/Web/Javascripts/source/prado/validator/validation3.js | 2 |
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; |