From 184a867dd08a98cce84466ad32d94796adaf3de9 Mon Sep 17 00:00:00 2001 From: xue <> Date: Mon, 12 Jun 2006 01:21:00 +0000 Subject: Fixed #191. --- framework/Web/Javascripts/js/prado.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'framework/Web/Javascripts/js') diff --git a/framework/Web/Javascripts/js/prado.js b/framework/Web/Javascripts/js/prado.js index 0946e192..1ec69786 100644 --- a/framework/Web/Javascripts/js/prado.js +++ b/framework/Web/Javascripts/js/prado.js @@ -243,8 +243,7 @@ form.action=options['PostBackUrl'];if(options['TrackFocus']) {var active=document.activeElement;if(active) lastFocus.value=active.id;else lastFocus.value=options['EventTarget'];}} -$('PRADO_POSTBACK_TARGET').value=options['EventTarget'];$('PRADO_POSTBACK_PARAMETER').value=options['EventParameter'];if(options['StopEvent']) -Event.stop(event);Event.fireEvent(form,"submit");} +$('PRADO_POSTBACK_TARGET').value=options['EventTarget'];$('PRADO_POSTBACK_PARAMETER').value=options['EventParameter'];Event.stop(event);Event.fireEvent(form,"submit");} Prado.Element={setValue:function(element,value) {var el=$(element);if(el&&typeof(el.value)!="undefined") el.value=value;},select:function(element,method,value) -- cgit v1.2.3