From 64a5d4b6d3adaeab325d0e72d6c6c7624d861807 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 18 Feb 2006 06:41:09 +0000 Subject: fixed an issue about TLinkButton always postback even if client validation fails. --- framework/Web/Javascripts/js/prado.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'framework/Web/Javascripts/js') diff --git a/framework/Web/Javascripts/js/prado.js b/framework/Web/Javascripts/js/prado.js index 2a1bbda5..0ca3c0b1 100644 --- a/framework/Web/Javascripts/js/prado.js +++ b/framework/Web/Javascripts/js/prado.js @@ -1680,6 +1680,9 @@ Prado.Validation.SetActiveGroup(Event.element(_378),_379["ValidationGroup"]); Prado.Validation.SetActiveGroup(null,null); } if(Prado.Validation.IsValid(form)==false){ +if(_379["StopEvent"]){ +Event.stop(_378); +} return; } } -- cgit v1.2.3