Ticket #7560 (closed bug: duplicate)

Opened 2 years ago

Last modified 2 years ago

this.placeholder[0].parentNode is null

Reported by: tranver Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.sortable Version: 1.8.14
Keywords: Cc:
Blocking: Blocked by:

Description

This error appears when you try to stop the sortable within the "beforeStop" event (jQuery 1.6.2 + jQuery UI 1.8.14). There's already a ticket about this issue but it's almost a year old and it looks like it has been forgotten: http://bugs.jqueryui.com/ticket/6054

this.placeholder[0].parentNode is null

Line:  https://github.com/jquery/jquery-ui/blob/master/ui/jquery.ui.sortable.js#L383

Test case:  http://jsfiddle.net/zVpn5/2/

Tested with the following browsers:

Google Chrome 12.0.742.122 (Windows 7)

Firefox 5.0 (Windows 7, Mac OSX)

Change History

comment:1 Changed 2 years ago by tranver

Sorry, this was the incorrect line number. It's in line 1038:  https://github.com/jquery/jquery-ui/blob/master/ui/jquery.ui.sortable.js#L1038

Last edited 2 years ago by tranver (previous) (diff)

comment:2 Changed 2 years ago by scott.gonzalez

  • Status changed from new to closed
  • Resolution set to duplicate

comment:3 Changed 2 years ago by scott.gonzalez

Duplicate of #6054.

Note: See TracTickets for help on using tickets.