Skip to main content

Search and Top Navigation

#7560 closed bug (duplicate)

Opened July 18, 2011 07:26AM UTC

Closed July 18, 2011 12:09PM UTC

Last modified July 18, 2011 12:09PM UTC

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:
Blocked by: Blocking:
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)

Attachments (0)
Change History (3)

Changed July 18, 2011 07:29AM UTC by tranver comment:1

_comment0: Sorry, this was the incorrect line number. It's in line 1038: this.placeholder[0].parentNode (https://github.com/jquery/jquery-ui/blob/master/ui/jquery.ui.sortable.js#L1038)1310974224462872

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

Changed July 18, 2011 12:09PM UTC by scottgonzalez comment:2

resolution: → duplicate
status: newclosed

Changed July 18, 2011 12:09PM UTC by scottgonzalez comment:3

Duplicate of #6054.