I wonder if this ticket will help you

http://dev.jqueryui.com/ticket/4088

Notice there's a workaround in the main ticket description to put your
destroy call in a timeout. Worth a shot. If that doesn't work, please file a
new bug ticket:

http://dev.jqueryui.com/newticket (note: required registration)

Thanks.

- Richard

On Tue, Feb 24, 2009 at 11:24 AM, bobbykjack <[email protected]> wrote:

>
> If anyone can tell me what "$.ui.plugin.add("draggable", "cursor",
> { ..." does, that would be a start. It seems as if something's calling
> this after the draggable's been destroyed, and that's causing the
> error.
>
> - Bobby
>
> On Feb 24, 1:06 pm, bobbykjack <[email protected]> wrote:
> > Using jQuery 1.3.2, I see the following error when trying to
> > call .draggable('destroy') on ui.draggable within a droppable's drop
> > function:
> >
> > $(this).data("draggable") is undefined
> > var o = $(this).data('draggable').options;   ui.draggable.js (line
> > 565)
> >
> > Any ideas what I'm doing wrong?
> >
> > - Bobby
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to