summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/base/postback.js
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/Javascripts/base/postback.js')
-rw-r--r--framework/Web/Javascripts/base/postback.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/framework/Web/Javascripts/base/postback.js b/framework/Web/Javascripts/base/postback.js
index b7e095a4..186495cc 100644
--- a/framework/Web/Javascripts/base/postback.js
+++ b/framework/Web/Javascripts/base/postback.js
@@ -13,7 +13,12 @@ Prado.doPostBack = function(formID, eventTarget, eventParameter, performValidati
if (performValidation)
{
//canSubmit = Prado.Validation.validate(validationGroup);
- canSubmit = Prado.Validation.OnSubmit(theForm);
+ /* Prado.Validation.ActiveTarget = theForm;
+ Prado.Validation.CurrentTargetGroup = null;
+ Prado.Validation.IsGroupValidation = false;
+ canSubmit = Prado.Validation.IsValid(theForm);
+ Logger.debug(canSubmit);*/
+ canSubmit = Prado.Validation.IsValid(theForm);
}
if (canSubmit)
{