quirks with draggables/droppables

quirks with draggables/droppables


Hello all,
I started playing around with the UI DnD stuff. I'm stoked about how
elegant the code is compared to Interface.
Two things have come up:
When using $(...).draggable({helper: function() {return
$(this).clone();}}), as is done here:
http://dev.jquery.com/view/trunk/plugins/ui/demos/template.html
It seems $.ui.intersect is getting passed the original element, not
the helper, so over/out/drop never registers because intersect always
returns false.
Second, when using $('#myDrag').draggable({helper: 'clone'}); the
helper element ends up having the same ID as the original element. It
should probably either not have an ID, or have its ID set to something
else, either something random, or maybe "myDrag_dragHelper" or
something. The area of interest is line 137 of ui.mouse.js.
Minor stuff in hindsight, but it took a while to track down why the
events weren't firing.
--Erik