Skip to main content

Search and Top Navigation

#5657 closed bug (duplicate)

Opened May 25, 2010 09:58PM UTC

Closed October 26, 2012 01:05AM UTC

Draggable breaks in IE7 IE8

Reported by: YohanT Owned by:
Priority: major Milestone: 2.0.0
Component: ui.draggable Version: 1.8.1
Keywords: Cc:
Blocked by: Blocking:
Description

When i refresh a Tree on IE7/8 the dragged object never call the "stop" event and the clone object is leaved everywhere on the screen...

Adding "if( $(this).data('draggable') )" on this stop event solved this problem for me...

$.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) {

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

{

var o = $(this).data('draggable').options;

if (o._cursor) $('body').css("cursor", o._cursor);

}

}

});

Attachments (0)
Change History (4)

Changed October 19, 2010 03:21PM UTC by scottgonzalez comment:1

priority: blockermajor

Changed October 21, 2011 06:16PM UTC by maljub01 comment:2

If I understand this correctly, I believe that both this ticket and mine (http://bugs.jqueryui.com/ticket/7800) are caused by the same bug.

Can you please check if the fix I submitted with my ticket fixes this one too?

Here's a link to it: https://github.com/maljub01/jquery-ui/commit/c3c84002898163c3c6625a4fedcddf1434f8e448

Changed October 11, 2012 09:07PM UTC by scottgonzalez comment:3

milestone: TBD2.0.0

Changed October 26, 2012 01:05AM UTC by mikesherov comment:4

resolution: → duplicate
status: newclosed

Duplicate of #7800.