projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d616b7
)
Contextmenu for popdown parent got lost somewhere
author
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 4 May 2010 08:34:31 +0000
(
02:34
-0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 4 May 2010 08:34:31 +0000
(
02:34
-0600)
imp/js/DimpCore.js
patch
|
blob
|
history
diff --git
a/imp/js/DimpCore.js
b/imp/js/DimpCore.js
index
9c9050e
..
2268c2c
100644
(file)
--- 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,