sridhars711 / dynatree

Automatically exported from code.google.com/p/dynatree
0 stars 0 forks source link

Empty 'children' array results in one 'null' child node #52

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When specifying a node, and giving [] as the 'children' property, the node
is shown with one child: 'null'. Giving null as the 'children' property
fixes the problem, but requires additional code (in my case) to check
whether to send null if an array is empty, otherwise the array.

Original issue reported on code.google.com by andreasblixt on 3 Nov 2008 at 9:28

GoogleCodeExporter commented 9 years ago

Original comment by moo...@wwwendt.de on 3 Nov 2008 at 7:36

GoogleCodeExporter commented 9 years ago
Fixed by r79

Original comment by moo...@wwwendt.de on 3 Nov 2008 at 8:25

GoogleCodeExporter commented 9 years ago
considered verified

Original comment by moo...@wwwendt.de on 17 Jul 2012 at 4:12