View Single Post
  #2  
Old 04-12-2010, 07:16 AM
Gambet Gambet is offline
Registered User
Join Date: Oct 2003
Posts: 2,712
Gambet is on a distinguished road
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.
Reply With Quote