#2947 closed bug (fixed)
Sortable Throws Errors in Firefox 3 rc1
Reported by: | Owned by: | paul | |
---|---|---|---|
Priority: | major | Milestone: | 1.5.1 |
Component: | ui.sortable | Version: | 1.5 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Sortable applied to nested lists like : $("#main li.opened > ul").sortable({connectWith: $("#main li.opened > ul")});
Error: [Exception... "Node cannot be inserted at the specified point in the hierarchy" code: "3" nsresult: "0x80530003 (NS_ERROR_DOM_HIERARCHY_REQUEST_ERR)" location: "http://localhost/groupy/core/js/jquery/jquery.js Line: 257"] Source File: http://localhost/groupy/core/js/jquery/jquery.js Line: 257
And
Error: [Exception... "Node cannot be inserted at the specified point in the hierarchy" code: "3" nsresult: "0x80530003 (NS_ERROR_DOM_HIERARCHY_REQUEST_ERR)" location: "http://localhost/groupy/core/js/jquery/jquery.js Line: 257"] Source File: http://localhost/groupy/core/js/jquery/jquery.js Line: 251
Wrapping insertBefore calls in try catch eliminates error. In both cases both the elements are LI tags. I tried setting containment, but the errors still occur.
Change History (3)
comment:1 Changed 15 years ago by
comment:3 Changed 15 years ago by
Milestone: | 1.5 → 1.5.1 |
---|---|
Version: | 1.5rc1 → 1.5 |
I cannot reproduce the issue - could you provide a simple test markup for me? Thanks!