From 6521eecc250d756a9bb1a8b2f9a2c6a579accadd Mon Sep 17 00:00:00 2001 From: uacaman <> Date: Wed, 1 Jun 2011 22:02:53 +0000 Subject: Issue 8 --- framework/Web/Javascripts/source/prado/validator/validation3.js | 2 +- framework/Web/UI/TPage.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/Web') diff --git a/framework/Web/Javascripts/source/prado/validator/validation3.js b/framework/Web/Javascripts/source/prado/validator/validation3.js index 6d42365a..0b53859d 100644 --- a/framework/Web/Javascripts/source/prado/validator/validation3.js +++ b/framework/Web/Javascripts/source/prado/validator/validation3.js @@ -480,7 +480,7 @@ Prado.ValidationManager.prototype = this.summaries.each(function(summary) { var inGroup = group && summary.group == group; - var noGroup = !group && !summary.group; + var noGroup = !group || !summary.group; if(inGroup || noGroup) summary.updateSummary(validators, refresh); else diff --git a/framework/Web/UI/TPage.php b/framework/Web/UI/TPage.php index 0405309d..5405391d 100644 --- a/framework/Web/UI/TPage.php +++ b/framework/Web/UI/TPage.php @@ -470,7 +470,7 @@ class TPage extends TTemplateControl implements IPageEvents { if(!$this->_validators) $this->_validators=new TList; - if($validationGroup===null) + if(empty($validationGroup) === true) return $this->_validators; else { -- cgit v1.2.3