diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2014-04-21 12:09:30 +0200 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2014-04-21 12:09:30 +0200 |
commit | c66097eac2c2691bf0047829275962ec0bf2b41f (patch) | |
tree | bc4a58dc5ead4c61140ababe465f13864fb37cb1 /framework/Web/Javascripts/source | |
parent | f95623e43ce5829b91d1fde0e7978aca96e3e936 (diff) |
Fixed #516 , added test case
Diffstat (limited to 'framework/Web/Javascripts/source')
-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 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; |