Skip to content

Commit b04a8cd

Browse files
author
Ruben Daniels
committed
tree bug fix
1 parent d2cf53e commit b04a8cd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/baseclasses/basetree.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,8 @@ apf.BaseTree = function(){
744744
pContainer = htmlNode.parentNode;
745745

746746
//Remove htmlNodes from tree
747-
containerNode.parentNode.removeChild(containerNode);
747+
if (containerNode)
748+
containerNode.parentNode.removeChild(containerNode);
748749
pContainer.removeChild(htmlNode);
749750

750751
//Datagrid??

0 commit comments

Comments
 (0)