Homekolab.org

Default value for node.collapsed

Authored by Thomas P <thomas.payen@i-carre.net> on Mar 14 2019, 11:39 AM.

Description

Default value for node.collapsed

When a node has children but with length = 0 the node.collapsed value is not set so the node is considered as expanded.
This is problematic when we use a dynamic tree loaded by ajax, the node is always considered has expanded but it's isn't.
I think by default node.collapsed needs to be set to true when there is no children because it's what we expect to have

Details

Committed
GitHub <noreply@github.com>Mar 14 2019, 11:39 AM
Parents
rRc7677a57227c: Follow redirection when downloading with curl (#6681)
Branches
Unknown
Tags
Unknown
References
refs/pull/6683/head

Event Timeline

GitHub <noreply@github.com> committed rR311da19fe01d: Default value for node.collapsed (authored by Thomas P <thomas.payen@i-carre.net>).Mar 14 2019, 11:39 AM