Ticket #1840

sortable smooth false causes parentNode exception


Description
rworth:
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 "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "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>