| Project: | ContextMenu |
| Version: | 0.2 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
I added the context menu to a sortable and found that the context menu did not go away when I initiated a sort. I had a need then to be able to cancel (hide) the context menu from an outside source. In my case this was the start event of the sortable. To facilitate this I simply exposed the existing internal hide() function in the same way the defaults() function is exposed. I have attached the patched version of the plugin.