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??
Thanks,
Brandon
On Oct 16, 2:28 pm, Fontzter <[email protected]> wrote:
> Brandon,
>
> There is a lot going on there. Try switching out some of the
> minimized js files for the full versions so you can debug and see
> where the error is more easily. Debugging is tough in IE. You could
> use firebug lite and write things to the console around where you
> suspect the error (seems to be on drops). Then you could analyze that
> to better pinpoint the spot.
>
> Hth,
>
> Dave
>
> P.S. You could also search the plugins (It looks like you may be
> using a non-jQueryUI drag/drop) for something like .data( to see where/
> when data is being set.
>
> On Oct 16, 9:45 am, Brandon Ryall <[email protected]> wrote:
>
> > Hey Richard
>
> > Thanks for the reply.
>
> > To see a working error of this you can go tohttp://testx3.emaint.comand
> > login as JQUERY:JQUERY (username:password). Once logged in you may have to
> > navigate to the tab that says "Scheduling (Beta)".
>
> > On that page is where the error occurs. If you drag one of those maroon
> > boxes to another date you'll see that error I spoke about up there.
>
> > The code operating that page is actually 2000+ lines which can be viewed
> > athttp://testx3.emaint.com/scripts/x3scheduler.js
> > But I have added a minimized version of this
> > athttp://testx3.emaint.com/scripts/IE_Error_Scheduler.jswhichappears to be
> > the functions that create the error from doing testing.
>
> > Thanks again
>
> > -------------------------------------------------
> > 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 Thu, Oct 15, 2009 at 7:42 PM, Richard D. Worth <[email protected]> wrote:
>
> > > A code sample would help. If you don't have a place to host a live sample
> > > page, please post to jsbin.com:
> > >http://jsbin.com/
>
> > > Thanks.
>
> > > - Richard
>
> > > On Thu, Oct 15, 2009 at 3:48 PM, Brandon Ryall
> > > <[email protected]>wrote:
>
> > >> Has anybody ever come across this in IE?
>
> > >> Message: 'data(...).options' is null or not an object
> > >> Line: 22
> > >> Char: 12801
> > >> Code: 0
> > >> URI:http://localhost/scripts/jquery-ui-1.7.2.custom.min.js
>
> > >> I'm using drag and drop and the draggable/droppable items are
> > >> utilizing the $.data() method, not sure if that's causing the problem
> > >> though.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---