summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/js/validator.js
diff options
context:
space:
mode:
authorwei <>2006-04-17 01:47:46 +0000
committerwei <>2006-04-17 01:47:46 +0000
commit636ede11afd0127f00e7d7db709c95ad68f4101f (patch)
tree6d0cff73953b1158a9e6785a77b36ffcdc63ee65 /framework/Web/Javascripts/js/validator.js
parentdc7b8a0fbe21c091a77338d51e78cf7e54761353 (diff)
Fixing #93, xue: please close ticket if your FT passes tests (it does pass on my IE, FF).
Diffstat (limited to 'framework/Web/Javascripts/js/validator.js')
-rw-r--r--framework/Web/Javascripts/js/validator.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/framework/Web/Javascripts/js/validator.js b/framework/Web/Javascripts/js/validator.js
index b5321743..867efc22 100644
--- a/framework/Web/Javascripts/js/validator.js
+++ b/framework/Web/Javascripts/js/validator.js
@@ -144,10 +144,8 @@ var _42=Prado.Validation.validators;
for(var i=0;i<_42.length;i++){
_42[i].enabled=!_42[i].control||undef(_42[i].control.form)||_42[i].control.form==_40;
_42[i].visible=Prado.Validation.IsGroupValidation?_42[i].inActiveGroup():true;
-if(Prado.Validation.HasTargetGroup||_42[i].group){
-if(_42[i].group!=Prado.Validation.CurrentTargetGroup){
-_42[i].enabled=false;
-}
+if(Prado.Validation.HasTargetGroup){
+_42[i].enabled=Prado.Validation.CurrentTargetGroup==_42[i].group;
}
_41&=_42[i].validate();
}