Interestingly enough,
PHP Code:
function Test_Tree.onExpand() {
player.chat = Test_Tree.expanded;
}
and
PHP Code:
function Test_Tree.onFold() {
player.chat = Test_Tree.expanded;
}
both return true, which doesn't really make sense when folding a node. Also, if you try:
PHP Code:
Test_Tree.expanded = false;
then the entire tree disappears, which would appear to be a bug unless it isn't intended to be used this way.