From 6288a167d9b8b1eb7eb8d9667c90b8ffb1e3d291 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Sat, 21 Feb 2009 17:16:26 -0700 Subject: [PATCH] Fix address context clicks --- imp/js/src/DimpCore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imp/js/src/DimpCore.js b/imp/js/src/DimpCore.js index 9b493b607..c909f5e26 100644 --- a/imp/js/src/DimpCore.js +++ b/imp/js/src/DimpCore.js @@ -533,7 +533,7 @@ DimpCore = { init: function() { if (typeof ContextSensitive != 'undefined') { - this.DMenu = new ContextSensitive({ onClick: this.contextOnClick, onShow: this.contextOnShow }); + this.DMenu = new ContextSensitive({ onClick: this.contextOnClick.bind(this), onShow: this.contextOnShow.bind(this) }); } /* Don't do additional onload stuff if we are in a popup. We need a -- 2.11.0