Issue 399: Similar issue to issue 231, but this time in removeChild function
Status:  Fixed
Owner: ----
Closed:  Feb 2013
Reported by Eboqu...@gmail.com, Jan 31, 2013
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.

Jan 31, 2013
Project Member #1 moo...@wwwendt.de
(No comment was entered for this change.)
Status: Accepted
Labels: Milestone-Release1.2.3
Feb 10, 2013
Project Member #2 moo...@wwwendt.de
This issue was closed by revision r640.
Status: Fixed