diff options
author | wei <> | 2007-04-03 01:38:15 +0000 |
---|---|---|
committer | wei <> | 2007-04-03 01:38:15 +0000 |
commit | 03dbe16b7762cc1a9e57df4e9e34bc04f46bb57f (patch) | |
tree | 4510a10b0a9fdcf6e6612d773f2bad55b8eb0534 /framework/Web/Javascripts/js/debug | |
parent | 571b069953f559edd02f89476ebe628efa63d613 (diff) |
update js onclick handler context for controls with js counterpart.
Diffstat (limited to 'framework/Web/Javascripts/js/debug')
-rw-r--r-- | framework/Web/Javascripts/js/debug/prado.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/Javascripts/js/debug/prado.js b/framework/Web/Javascripts/js/debug/prado.js index d1a04f4f..03c271af 100644 --- a/framework/Web/Javascripts/js/debug/prado.js +++ b/framework/Web/Javascripts/js/debug/prado.js @@ -4447,7 +4447,7 @@ Prado.WebUI.PostBackControl.prototype = {
if(typeof(this.element.onclick)=="function")
{
- this._elementOnClick = this.element.onclick;
+ this._elementOnClick = this.element.onclick.bind(this.element);;
this.element.onclick = null;
}
Event.observe(this.element, "click", this.elementClicked.bindEvent(this,options));
|