summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
authorDavid <ottodavid@gmx.net>2014-10-23 20:13:56 +0200
committerDavid <ottodavid@gmx.net>2014-10-23 20:13:56 +0200
commita95129eca0c513b4090c76656a068805b3b5281f (patch)
treec5b396f6699959a1ee922542dbe05599fe25718f /framework/Web
parentbd341e6469cbd49a35711b732386dc56a3c59ed0 (diff)
Fix #538
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/Javascripts/source/prado/validator/validation3.js11
1 files changed, 7 insertions, 4 deletions
diff --git a/framework/Web/Javascripts/source/prado/validator/validation3.js b/framework/Web/Javascripts/source/prado/validator/validation3.js
index b0710ed2..bdf0f592 100644
--- a/framework/Web/Javascripts/source/prado/validator/validation3.js
+++ b/framework/Web/Javascripts/source/prado/validator/validation3.js
@@ -342,10 +342,13 @@ Prado.ValidationManager.prototype =
validateControl : function (id)
{
var valid = true;
- jQuery.each(this.controls[id], function (idx, element) {
- if(!element.validate(null))
- valid = false;
- });
+ if(this.controls[id])
+ {
+ jQuery.each(this.controls[id], function (idx, element) {
+ if(!element.validate(null))
+ valid = false;
+ });
+ }
return valid;
},