[jQuery] Sortable - is 'containment' implemented? simple test case fails

[jQuery] Sortable - is 'containment' implemented? simple test case fails


Heya jquery folks,
Has anyone implemented a .Sortable with the containment: 'parent' property?
Even in a basic test case (below), I receive unexpected behavior when using
this property: Most prominent is dragging the first item in a list yet
unable to drop/sort it.
If this helps, here is a fellow user who also experienced unexpected
behavior with 'containment':
http://jquery.com/pipermail/discuss_jquery.com/2006-November/016519.html
Here is the simple test case:
<html><head>
<!-- include jquery and interface js files -->
<script type="text/javascript">
$(document).ready(function () {
$('ul#sortlist').Sortable(
{
accept : 'trigger',
containment: 'parent'
});
});
</script>
</head>
<body>
<ul id="sortlist" class="sortable">
<li id="item1" class="trigger">Alas my love</li>
<li id="item2" class="trigger">ye do me wrong</li>
<li id="item3" class="trigger">to cast me off</li>
<li id="item4" class="trigger">discourteously.</li>
</ul>
</body></html>
--
View this message in context: http://www.nabble.com/Sortable---is-%27containment%27-implemented--simple-test-case-fails-tf2787726.html#a7777919
Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/