summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/Javascripts/source/prado/controls/controls.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/framework/Web/Javascripts/source/prado/controls/controls.js b/framework/Web/Javascripts/source/prado/controls/controls.js
index 3ff089c3..9eff6a1d 100644
--- a/framework/Web/Javascripts/source/prado/controls/controls.js
+++ b/framework/Web/Javascripts/source/prado/controls/controls.js
@@ -264,7 +264,11 @@ Prado.WebUI.PostBackControl = jQuery.klass(Prado.WebUI.Control, {
if(doPostBack && !jQuery(src).is(':disabled'))
this.onPostBack(options,event);
if(typeof(onclicked) == "boolean" && !onclicked)
+ {
event.stopPropagation();
+ event.preventDefault();
+ return false;
+ }
},
onPostBack : function(options, event)