Ticket #439 (closed Feature Request: worksforme)
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 |
Description
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
Note: See
TracTickets for help on using
tickets.
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>.