diff options
author | David <ottodavid@gmx.net> | 2014-10-23 20:13:56 +0200 |
---|---|---|
committer | David <ottodavid@gmx.net> | 2014-10-23 20:13:56 +0200 |
commit | a95129eca0c513b4090c76656a068805b3b5281f (patch) | |
tree | c5b396f6699959a1ee922542dbe05599fe25718f /framework/Web/Javascripts/source | |
parent | bd341e6469cbd49a35711b732386dc56a3c59ed0 (diff) |
Fix #538
Diffstat (limited to 'framework/Web/Javascripts/source')
-rw-r--r-- | framework/Web/Javascripts/source/prado/validator/validation3.js | 11 |
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; }, |