medialize/jQuery-contextMenu — Issue #34: Allowing for other event handlers 
Author: remotusesse
Created: 2012-03-08 18:27:37+00:00
State: open

I ran into an issue with the current version of jQuery-contextMenu not being able to handle objects that I wanted to associate draggable or resizable to. Basically the current code stops propagation of left mouse events, thereby breaking certain types of events/actions that you would want to associate with an element that has a context menu associated with it. The fix is simple, after line 34 in jquery.contextMenu.js add

if( evt.button == 0) return;

If your line numbers are different you will want to do that after $(this).mousdown(functino(e){ .... and before evt.stopPropagation();

Thanks for writing the code and making it open.

esse