Fix address context clicks
authorMichael M Slusarz <slusarz@curecanti.org>
Sun, 22 Feb 2009 00:16:26 +0000 (17:16 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Sun, 22 Feb 2009 00:16:26 +0000 (17:16 -0700)
imp/js/src/DimpCore.js

index 9b493b6..c909f5e 100644 (file)
@@ -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