From 04d622092cea263a380363c6c6f43b63e6c9a618 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 4 May 2010 02:34:31 -0600 Subject: [PATCH] Contextmenu for popdown parent got lost somewhere --- imp/js/DimpCore.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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, -- 2.11.0