diff options
author | wei <> | 2006-02-02 07:08:16 +0000 |
---|---|---|
committer | wei <> | 2006-02-02 07:08:16 +0000 |
commit | 71ea1bd064dc36004e610fff56a23d09578cd7eb (patch) | |
tree | 5cedacd6f906d3f0eaefe1ec98c5151ab23eb8c3 /framework/Web/Javascripts/prado/validation.js | |
parent | b2fba25e4b146c4896304377643e498a22a3ced0 (diff) |
Fixed #27
Diffstat (limited to 'framework/Web/Javascripts/prado/validation.js')
-rw-r--r-- | framework/Web/Javascripts/prado/validation.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/framework/Web/Javascripts/prado/validation.js b/framework/Web/Javascripts/prado/validation.js index 8b796cb1..29f1ce82 100644 --- a/framework/Web/Javascripts/prado/validation.js +++ b/framework/Web/Javascripts/prado/validation.js @@ -243,6 +243,12 @@ Prado.Validation.AddTarget = function(id, group) }
}
+Prado.Validation.SetActiveGroup = function(target, group)
+{
+ Prado.Validation.ActiveTarget = target;
+ Prado.Validation.CurrentTargetGroup = group;
+}
+
/**
* Associate a list of validators to a particular control element.
* This essentially allows a set of validators to be grouped to a particular button.
|