diff options
author | uacaman <> | 2011-06-01 22:02:53 +0000 |
---|---|---|
committer | uacaman <> | 2011-06-01 22:02:53 +0000 |
commit | 6521eecc250d756a9bb1a8b2f9a2c6a579accadd (patch) | |
tree | 21037d3b97de903eb464ebe5ddf23be1b2e8b652 | |
parent | 42e6d7ecea063d81e168cdb5009ddc89ea2da3b6 (diff) |
Issue 8
-rw-r--r-- | framework/Web/Javascripts/source/prado/validator/validation3.js | 2 | ||||
-rw-r--r-- | framework/Web/UI/TPage.php | 2 |
2 files changed, 2 insertions, 2 deletions
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
{
|