What steps will reproduce the problem?
1.Removing a node with multiple siblings
I occasionally receive uncaught exception: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMHTMLUListElement.removeChild]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)"
Problem Code:
jquery.dynatree.js line 1380 in removeChild function:
this.ul.removeChild(tn.li);
Replace with (per the 231 issue fix in removeChildren function):
if(this.ul){
$('li',$(this.ul)).remove()}
}
- Dynatree v1.2.0 (minimized version)
- jQuery 1.8.0
- Firefox 18.0
Also, not sure if related or not, as i'm new to dynatree, but after multiple nodes are removed, the parent node remains partially selected(green highlight). Not sure what causes it, and can't seem to replicate it.
Labels: Milestone-Release1.2.3