summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/extra/logger.js
diff options
context:
space:
mode:
authorwei <>2006-01-20 00:54:18 +0000
committerwei <>2006-01-20 00:54:18 +0000
commit66c5465f3d55ea1ce605e2c636adf87ae14b4d95 (patch)
treed143e9f5111a32b2b425f141b00afee94535ae47 /framework/Web/Javascripts/extra/logger.js
parente4381a808ae847265c854ec3d7f7f97e058e65ee (diff)
Diffstat (limited to 'framework/Web/Javascripts/extra/logger.js')
-rw-r--r--framework/Web/Javascripts/extra/logger.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/framework/Web/Javascripts/extra/logger.js b/framework/Web/Javascripts/extra/logger.js
index f6383480..6500d79f 100644
--- a/framework/Web/Javascripts/extra/logger.js
+++ b/framework/Web/Javascripts/extra/logger.js
@@ -676,7 +676,7 @@ Prado.Inspector =
this.d.body.removeChild(this.d.getElementById("so_mContainer"));
this.d.body.removeChild(this.d.getElementById("so_mStyle"));
if(typeof Event != "undefined")
- Event.stopObserving(this.d, "keydown", this.handleKeyEvent.bind(this));
+ Event.stopObserving(this.d, "keydown", this.dKeyDownEvent);
this.types = new Array();
this.objs = new Array();
this.hidden = new Array();
@@ -695,8 +695,9 @@ Prado.Inspector =
sObj.id="so_mStyle";
sObj.type="text/css";
sObj.innerHTML = this.style;
+ this.dKeyDownEvent = this.handleKeyEvent.bind(this);
if(typeof Event != "undefined")
- Event.observe(this.d, "keydown", this.handleKeyEvent.bind(this));
+ Event.observe(this.d, "keydown", this.dKeyDownEvent);
this.parseJS(obj);
this.buildTree();