diff options
author | ctrlaltca@gmail.com <> | 2011-07-02 13:53:54 +0000 |
---|---|---|
committer | ctrlaltca@gmail.com <> | 2011-07-02 13:53:54 +0000 |
commit | 6e2d354c5a1d49fd65dc050b7d2c3d9b204112eb (patch) | |
tree | 0b849bba7c11a79f493bf52a8c2eddf058f4fb1f /framework/Web | |
parent | 39a33f34e5229f10b06629515bea69ff03b997f4 (diff) |
reworked the patch for #103 so that it actually fixes the use of TActiveCustomValidator with normal Postback controls (like TButton)
Diffstat (limited to 'framework/Web')
-rw-r--r-- | framework/Web/Javascripts/source/prado/validator/validation3.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/framework/Web/Javascripts/source/prado/validator/validation3.js b/framework/Web/Javascripts/source/prado/validator/validation3.js index 0b53859d..c0f770cf 100644 --- a/framework/Web/Javascripts/source/prado/validator/validation3.js +++ b/framework/Web/Javascripts/source/prado/validator/validation3.js @@ -1601,9 +1601,7 @@ Prado.WebUI.TActiveCustomValidator = Class.extend(Prado.WebUI.TBaseValidator, 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();
+ this.invoker.click();
}
}
},
|