Figured I'd share this just in case anybody ever runs into a similar error,

My problem appeared to be that I was trying to "destroy" the draggable items
after they had already been cleared out. Just moved the code for the
"destroy" above the html clear and everything went back to functioning
properly.

Thanks Dave and Richard for looking into this!

-------------------------------------------------
Brandon Ryall
Software Developer
eMaint Enterprises LLC
438 N. Elmwood Road, Suite 201
Marlton, NJ 08053
P 856-810-2700 x7180
F 253-323-6353


On Fri, Oct 16, 2009 at 9:00 PM, Richard D. Worth <[email protected]> wrote:

>
> On Fri, Oct 16, 2009 at 3:22 PM, Brandon Ryall 
> <[email protected]>wrote:
>
>>
>> After playing around with it a bit using firebug lite and the non-min
>> version of jquery-ui I found that the bug appears to be a conflict
>> with ui.draggable.js
>> $.ui.plugin.add("draggable", "cursor", {
>>        start: function(event, ui) {
>>                var t = $('body'), o = $(this).data('draggable').options;
>>                if (t.css("cursor")) o._cursor = t.css("cursor");
>>                t.css("cursor", o.cursor);
>>        },
>>        stop: function(event, ui) {
>>                var o = $(this).data('draggable').options;
>>                if (o._cursor) $('body').css("cursor", o._cursor);
>>        }
>> });
>>
>> More specifically that var o = $(this).data('draggable').options.
>>
>> Could this be because I'm assigning $.data() to a draggable item??
>>
>
> It shouldn't be a problem, unless you're causing that element to lose its
> .data('draggable') somehow. That's where the draggable plugin instance is
> stored.
>
> As Dave mentioned, you've got a *lot* going on here. You'll have a much
> easier time, and other people may even be able to help you, if you can
> distill this down to a minimal test page. Keep removing things until you
> still have the functionality you need (for testing this specific issue) and
> are still seeing the issue, but nothing more. As long as you're still seeing
> the issue, you know that whatever you've removed up to that point didn't
> contain the problem. This will make it infinitely easier to isolate and
> identify the source. Once you do, and fix it, then you can put everything
> else back.
>
> - Richard
>
>
> >
>

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