Changes for page Treeview

Last modified by Ludovic Dubost on 2023/04/25 09:12

From version 20.1
edited by Ludovic Dubost
on 2010/11/03 01:26
Change comment: There is no comment for this version
To version 21.1
edited by Ludovic Dubost
on 2010/11/03 01:27
Change comment: There is no comment for this version

Summary

Details

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -72,9 +72,9 @@
72 72   nodes[id] = new YAHOO.widget.TextNode(text, parent2, expanded);
73 73   nodes[id].href = url;
74 74   if (expanded)
75 - nodes[i].expand()
75 + nodes[id].expand()
76 76   else
77 - nodes[i].collapse()
77 + nodes[id].collapse()
78 78   }
79 79  
80 80   function treeInit${tviewid}() {