Here is a demo of the bug:
http://jsfiddle.net/jlgrall/HRLwY/
My tests show that it worked until jQuery 1.5.1, then since jQuery
1.5.2 it is broken.
Then I compared both version of jQuery, and I think I found the
problem. Compare the line 2200 in jQuery 1.5.1 with the line 2206 in
jQuery 1.5.2. In the old version jQuery.event.triggered only contains
a boolean, in the new version it contains a string that is an
event.type or the value undefined.
Back to jquery.event.drag, lines 205 and 207. I just change them as
follows:
jQuery.event.triggered = true; -> jQuery.event.triggered = "click";
jQuery.event.triggered = false; -> jQuery.event.triggered = undefined;
Now it seems to be working well.
(I have only done basic testing with jQuery 1.7.1)
Hope it helps other people,
JL
Thanks JL! Your suggestion seemed to fix my issue with jQuery 1.7. .. If anyone knows of a better way to use drag events than ThreeDubMedia's extension, let me know.