From: Michael M Slusarz Date: Tue, 4 May 2010 08:34:31 +0000 (-0600) Subject: Contextmenu for popdown parent got lost somewhere X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=04d622092cea263a380363c6c6f43b63e6c9a618;p=horde.git Contextmenu for popdown parent got lost somewhere --- diff --git a/imp/js/DimpCore.js b/imp/js/DimpCore.js index 9c9050e44..2268c2cf3 100644 --- a/imp/js/DimpCore.js +++ b/imp/js/DimpCore.js @@ -335,7 +335,17 @@ var DimpCore = { addPopdown: function(p, t, d) { var elt = new Element('SPAN', { className: 'iconImg popdownImg popdown' }); - $(p).insert({ after: elt }); + p = $(p); + + p.insert({ after: elt }); + + this.addContextMenu({ + disable: d, + id: p.identify(), + left: true, + offset: p.up(), + type: t + }); this.addContextMenu({ disable: d,