summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorwei <>2007-05-11 00:01:32 +0000
committerwei <>2007-05-11 00:01:32 +0000
commit117124d2fe308d64940b20165f8958be8bfa3592 (patch)
treee9016ed9ba8aeaeca83e6c9d397f338f035ac797 /framework
parent42c84379ccf7bc54de89f9d88235d061ef75cad7 (diff)
no postback/callback when control is disabled
Diffstat (limited to 'framework')
-rw-r--r--framework/Web/Javascripts/source/prado/controls/controls.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/Javascripts/source/prado/controls/controls.js b/framework/Web/Javascripts/source/prado/controls/controls.js
index ff40b0e8..dab2b905 100644
--- a/framework/Web/Javascripts/source/prado/controls/controls.js
+++ b/framework/Web/Javascripts/source/prado/controls/controls.js
@@ -38,7 +38,7 @@ Prado.WebUI.PostBackControl.prototype =
if(typeof(onclicked) == "boolean")
doPostBack = onclicked;
}
- if(doPostBack)
+ if(doPostBack && !src.attributes['disabled'])
this.onPostBack(event,options);
if(typeof(onclicked) == "boolean" && !onclicked)
Event.stop(event);