This was fixed in trunk last night. http://dev.jqueryui.com/ticket/4061
http://dev.jqueryui.com/changeset/1997 - Richard On Thu, Feb 5, 2009 at 6:24 AM, Neil Craig <[email protected]> wrote: > > In the previous versions of jQuery & jQuey-UI, one could trigger > dragging like so: > > jQuery(document).ready(function() { > > jQuery("#myDiv").mousedown(function(ev) { > > target = jQuery(ev.target); > > /* Various logic that sets the draggable variable to either > true or > false */ > > if (draggable) { > target.draggable({ > helper: "clone", > stop: function() > { > jQuery(this).draggable("destroy"); > } > }).trigger("mousedown.draggable", [ev]); > } > }); > > }); > > But it will not work, javascript reports the following error: > "event.originalEvent is undefined". > > How can I fix this? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
