diff options
author | David <ottodavid@gmx.net> | 2014-07-23 20:35:42 +0200 |
---|---|---|
committer | David <ottodavid@gmx.net> | 2014-07-23 20:35:42 +0200 |
commit | 772258aa83174b20b6ba43296cc21d1a7f5dfe92 (patch) | |
tree | 641afe1ab2422c4fb4c81a502a730bc9ac839c74 /framework | |
parent | 064bf94147a90234007c8a124ba7bd9fc27fc0cd (diff) |
Fix #528
Diffstat (limited to 'framework')
-rw-r--r-- | framework/Web/Javascripts/source/prado/validator/validation3.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/framework/Web/Javascripts/source/prado/validator/validation3.js b/framework/Web/Javascripts/source/prado/validator/validation3.js index 9f8c7a98..d5cd5673 100644 --- a/framework/Web/Javascripts/source/prado/validator/validation3.js +++ b/framework/Web/Javascripts/source/prado/validator/validation3.js @@ -341,7 +341,13 @@ Prado.ValidationManager.prototype = */ validateControl : function (id) { - return this.controls[id] ? this.controls[id].invoke('validate',null).all() : true; + var valid = true; + jQuery.each(this.controls[id], function (idx, element) { + if(!element.validate(null)) + valid = false; + }); + + return valid; }, /** |