From: Michael M Slusarz Date: Sun, 22 Feb 2009 00:16:26 +0000 (-0700) Subject: Fix address context clicks X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=6288a167d9b8b1eb7eb8d9667c90b8ffb1e3d291;p=horde.git Fix address context clicks --- 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