Ticket #4087 (closed bug: fixed)
Removing ui.draggable immediately after the drop callback raises an error.
| Reported by: | bohdan.ganicky | Owned by: | |
|---|---|---|---|
| Priority: | critical | Milestone: | 1.7 |
| Component: | ui.draggable | Version: | 1.6rc6 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description (last modified by rdworth) (diff)
The code is simple:
$("#draggable").draggable();
$("#droppable").droppable({
drop: function(event, ui) {
ui.draggable.remove();
}
});
Firebug output:
$(this).data("draggable") is undefined
http://localhost/Dev/jquery-ui/ui/ui.draggable.js
Line 570
testcase here: http://jquery-ui.googlecode.com/svn/trunk/tests/visual/droppable/droppable_ticket_4087.html
Change History
comment:3 Changed 4 years ago by sukerman
I'm seeing the same thing, but also seems jammed in a loop my firefox error console instantly fills to capacity with this error repeating and CPU usage goes to 50% hanging firefox. I can provide test case but my case is quite complex to setup and I guess its the same problem.
Note: See
TracTickets for help on using
tickets.

