summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts
diff options
context:
space:
mode:
authorwei <>2006-01-19 05:10:02 +0000
committerwei <>2006-01-19 05:10:02 +0000
commitc097a2128a3cfc37ef91f7cd09e6b069f305333d (patch)
treedb4aa45807b7092ce8e4dcd7af9703e256ba3fe6 /framework/Web/Javascripts
parent5d88ad05e5956071d5904662d133625f157ce230 (diff)
Fixed TLinkButton.
Diffstat (limited to 'framework/Web/Javascripts')
-rw-r--r--framework/Web/Javascripts/js/prado.js3
-rw-r--r--framework/Web/Javascripts/prado/form.js1
2 files changed, 4 insertions, 0 deletions
diff --git a/framework/Web/Javascripts/js/prado.js b/framework/Web/Javascripts/js/prado.js
index 53ff4aba..1f92a539 100644
--- a/framework/Web/Javascripts/js/prado.js
+++ b/framework/Web/Javascripts/js/prado.js
@@ -2202,6 +2202,9 @@ _17.value=_14["EventTarget"];
$("PRADO_POSTBACK_TARGET").value=_14["EventTarget"];
$("PRADO_POSTBACK_PARAMETER").value=_14["EventParameter"];
Event.fireEvent(_15,"submit");
+if(_14["StopEvent"]){
+Event.stop(_13);
+}
};
Prado.Element={setValue:function(_1,_2){
diff --git a/framework/Web/Javascripts/prado/form.js b/framework/Web/Javascripts/prado/form.js
index 03d9ab30..9c443c52 100644
--- a/framework/Web/Javascripts/prado/form.js
+++ b/framework/Web/Javascripts/prado/form.js
@@ -127,6 +127,7 @@ Prado.PostBack = function(event,options)
$('PRADO_POSTBACK_TARGET').value = options['EventTarget'];
$('PRADO_POSTBACK_PARAMETER').value = options['EventParameter'];
Event.fireEvent(form,"submit");
+ if(options['StopEvent']) Event.stop(event);
}
/*