sydcanem/bootstrap-contextmenu — pull request #27 by ninio (2013-08-08 10:01:20+00:00)
Title: Fix calling onItem for all the instances of contextmenu that use the same dropdown.

Added a _context_this_ref in the data of the shown context menu to call only the onItem callback function that is initialized for this istance of the contextmenu.

This was causing a problem if you initialize multiple times the Contextmenu and all of them use same dropdown element. In this case each onItem is called instead of only the one that was initialized for the specific element/selector.