Ticket #439 (closed Feature Request: worksforme)

Opened 10 years ago

Last modified 9 years ago

Create global "mouseclick" events which removes active contextmenus from DOM

Reported by: joern Owned by: jri
Priority: Major Milestone:
Component: DeepaMehta Standard Distribution Version: 4.1
Keywords: Cc:
Complexity: 3 Area:
Module: deepamehta-webclient


The webclient should bind a handler to the mouse click event to the body, which removes all elements and childs with the id e.g. "contextmenu". This would fix bugs like "zombie" context menus after switching topicmap when having an open context menu.

Change History

comment:1 Changed 9 years ago by jri

  • Status changed from new to closed
  • Resolution set to worksforme

Since DM 4.1.3's refactored menus (#532) context menus are auto-closed as well.
Make sure your mouseup/down event bubbles up to <body>.

Note: See TracTickets for help on using tickets.