summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/source
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/Javascripts/source')
-rw-r--r--framework/Web/Javascripts/source/prado/validator/validation3.js12
1 files changed, 8 insertions, 4 deletions
diff --git a/framework/Web/Javascripts/source/prado/validator/validation3.js b/framework/Web/Javascripts/source/prado/validator/validation3.js
index e24e8ffd..f19b3445 100644
--- a/framework/Web/Javascripts/source/prado/validator/validation3.js
+++ b/framework/Web/Javascripts/source/prado/validator/validation3.js
@@ -1585,11 +1585,15 @@ Prado.WebUI.TActiveCustomValidator = Class.extend(Prado.WebUI.TBaseValidator,
this.updateValidationDisplay();
this.manager.updateSummary(this.group);
// Redispatch initial request if any
- if (this.invoker instanceof Prado.CallbackRequest)
- {
- this.invoker.dispatch();
+ if(this.isValid) {
+ if(this.invoker instanceof Prado.CallbackRequest) {
+ this.invoker.dispatch();
+ } else {
+ $('PRADO_POSTBACK_TARGET').value = this.invoker.id;
+ $('PRADO_POSTBACK_PARAMETER').value = null;
+ $(this.options.FormID).submit();
+ }
}
-
},
/**