Changes for page Rangee Index
Last modified by Tobias Wintrich on 2025/06/04 09:20
From version 7.36
edited by Tobias Wintrich
on 2021/09/27 14:50
on 2021/09/27 14:50
Change comment:
There is no comment for this version
To version 7.17
edited by Tobias Wintrich
on 2021/09/24 16:49
on 2021/09/24 16:49
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -9,18 +9,17 @@ 9 9 #prepareTreeOptions($options) 10 10 #documentTree($options) 11 11 12 -{{/html}} 12 +<script type='text/javascript'> 13 +document.addEventListener('DOMContentLoaded', function() { 14 + document.getElementById("treeeee").jstree("open_all").bind("loaded.jstree", function(event, data) { 15 + data.instance.open_all(); 16 + }) 17 +}, false); 13 13 14 -{{tree}} 15 -#foreach ($child in $doc.children) 16 - * [[$child]] 17 - #set ($childDoc = $xwiki.getDocument($child)) 18 - #foreach ($subchild in $childDoc.children) 19 - ** [[$subchild]] 20 - #end 21 -#end 22 -{{/tree}} 23 23 20 +</script> 24 24 22 +{{/html}} 23 + 25 25 {{/velocity}} 26 26