From 6e2d354c5a1d49fd65dc050b7d2c3d9b204112eb Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Sat, 2 Jul 2011 13:53:54 +0000 Subject: reworked the patch for #103 so that it actually fixes the use of TActiveCustomValidator with normal Postback controls (like TButton) --- framework/Web/Javascripts/source/prado/validator/validation3.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'framework/Web/Javascripts/source') 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(); } } }, -- cgit v1.2.3