Index: contextmenu.js =================================================================== --- contextmenu.js (revision 75) +++ contextmenu.js (working copy) @@ -45,6 +45,7 @@ this.close(event); return false; } + this.clicked = Event.element(event); Control.ContextMenu.current = this; Control.ContextMenu.positionContainer(event); Control.ContextMenu.container.show(); @@ -110,12 +111,12 @@ }.bind(this)); window.setTimeout(function(){ if(this.close() && this.options.delayCallback) - item.callback(); + item.callback(this.clicked); }.bind(this),this.options.animationLength); if(!this.options.delayCallback) - item.callback(); + item.callback(this.clicked); }else if(this.close()) - item.callback(); + item.callback(this.clicked); } event.stop(); return false;