Changes for page Rangee Index

Last modified by Tobias Wintrich on 2025/06/04 09:20

From version 7.2
edited by Tobias Wintrich
on 2021/09/24 16:05
Change comment: There is no comment for this version
To version 7.14
edited by Tobias Wintrich
on 2021/09/24 16:47
Change comment: There is no comment for this version

Summary

Details

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -1,5 +1,5 @@
1 +{{template name="RangeeDocumentTree_macros.vm" /}}
1 1  
2 -
3 3  {{velocity}}
4 4  #set ($options = {})
5 5  #foreach ($parameterName in $xcontext.macro.params.parameterNames)
... ... @@ -7,7 +7,18 @@
7 7  #end
8 8  {{html clean="false"}}
9 9  #prepareTreeOptions($options)
10 -$options
11 11  #documentTree($options)
11 +
12 +<script type='text/javascript'>
13 +document.addEventListener('DOMContentLoaded', function() {
14 + document.getElementById("treeeee").bind("loaded.jstree", function(event, data) {
15 + data.instance.open_all();
16 +}), false);
17 +
18 +
19 +</script>
20 +
12 12  {{/html}}
22 +
13 13  {{/velocity}}
24 +