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 comment:1
priority: | blocker → major |
---|
Changed October 21, 2011 06:16PM UTC by 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 comment:3
milestone: | TBD → 2.0.0 |
---|