diff options
author | wei <> | 2007-05-11 00:01:32 +0000 |
---|---|---|
committer | wei <> | 2007-05-11 00:01:32 +0000 |
commit | 117124d2fe308d64940b20165f8958be8bfa3592 (patch) | |
tree | e9016ed9ba8aeaeca83e6c9d397f338f035ac797 /framework/Web | |
parent | 42c84379ccf7bc54de89f9d88235d061ef75cad7 (diff) |
no postback/callback when control is disabled
Diffstat (limited to 'framework/Web')
-rw-r--r-- | framework/Web/Javascripts/source/prado/controls/controls.js | 2 |
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);
|