Opened 6 years ago

Closed 6 years ago

#8890 closed bug (invalid)

ui.draggable bug in IE 9: object null or undefined when element is dropped

Reported by: michl Owned by: michl
Priority: minor Milestone: 1.10.0
Component: ui.draggable Version: 1.9.2
Keywords: Cc:
Blocked by: Blocking:

Description (last modified by Scott González)

in IE 9 when an element is dropped.

line 6 character 33889 in jquery min package

Für die Eigenschaft "options" kann kein Wert abgerufen werden: Das Objekt ist Null oder undefiniert jquery-ui-1.9.2.custom.min.js, Zeile 6 Zeichen 33889

We got it solved by the following changes in 1.9.2 min package:

before:

stop: function(event, ui) {

var o = $(this).data('draggable').options; if (o._cursor) $('body').css("cursor", o._cursor);

}

after:

stop: function(event, ui) {

if ($(this).data('draggable')) {

var o = $(this).data('draggable').options; if (o._cursor) $('body').css("cursor", o._cursor);

}

}

Change History (3)

comment:1 Changed 6 years ago by tj.vantoll

Owner: set to michl
Status: newpending

Hi michl, thanks for taking the time to contribute to the jQuery UI project.

We're going to need a minimal test case showing this problem in order to assess your ticket. You can use this as a starting point - http://jsfiddle.net/tj_vantoll/8RtqV/.

Thanks!

comment:2 Changed 6 years ago by Scott González

Description: modified (diff)

comment:3 Changed 6 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Note: See TracTickets for help on using tickets.