Skip to main content

Search and Top Navigation

#1840 closed bug (fixed)

Opened October 24, 2007 10:00AM UTC

Closed October 27, 2007 05:53AM UTC

Last modified February 26, 2009 11:13AM UTC

sortable smooth false causes parentNode exception

Reported by: rworth Owned by: paul
Priority: critical Milestone: 1.5
Component: ui.core Version: 1.2.1
Keywords: sortable smooth parentNode Cc:
Blocked by: Blocking:
Description

If sortable is called with the smooth option set to false, the following exception occurs:

this.parentNode has no properties

file:///C:/trunk/jquery/src/core.js

Line 1271

Example code:

<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 TransitionalEN" "http:www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>

<head>

<title>test</title>

<script type="text/javascript" src="../scripts/jquery-1.2.1.js"></script>

<script type="text/javascript" src="../scripts/jquery-ui.js"></script>

</head>

<body>

<ul id="faqlist">

<li>abc</li>

<li>def</li>

<li>ghi</li>

</ul>

<script type="text/javascript">

$('#faqlist').sortable({

smooth: false

});

</script>

</body>

</html>

Attachments (0)
Change History (4)

Changed October 27, 2007 05:52AM UTC by paul comment:1

owner: → paul
status: newassigned

Changed October 27, 2007 05:53AM UTC by paul comment:2

resolution: → fixed
status: assignedclosed

fixed!

Changed May 24, 2008 03:39AM UTC by comment:3

milestone: 1.2.2

Milestone 1.2.2 deleted

Changed February 26, 2009 11:13AM UTC by paul comment:4

milestone: → 1.5