Bug? Draggable and unbind.

Bug? Draggable and unbind.

Hi,

I've noticed that if you make an object draggable and then unbind it, you can't make it draggable any more. See sample code below.
  1. <ul id="foo">
  2. <li id="bar">bar</li>
  3. <li id="baz">baz</li>
  4. </ul>
  5. <script type="text/javascript">
  6.     $(document).ready(function() {
  7.         $("#bar").draggable(); // Can drag
  8.         $("#bar").unbind();
  9.         $("#bar").draggable(); // Can't drag any more
  10.     });
  11. </script>
Is that a bug?

Cheers,

Julien