Changes for page Rangee Index

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

From version 7.35
edited by Tobias Wintrich
on 2021/09/27 14:48
Change comment: There is no comment for this version
To version 7.33
edited by Tobias Wintrich
on 2021/09/27 14:45
Change comment: There is no comment for this version

Summary

Details

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -9,17 +9,22 @@
9 9  #prepareTreeOptions($options)
10 10  #documentTree($options)
11 11  
12 -{{/html}}
12 +<input id="spinner">
13 13  
14 -{{tree}}
15 -#foreach ($child in $doc.children)
16 - * [[$child]]
17 - #foreach ($subchild in $child.children)
18 - ** [[$subchild]]
19 - #end
20 -#end
21 -{{/tree}}
14 +<script type='text/javascript'>
15 +require(['jquery',"$services.webjars.url('jquery-ui', 'jquery-ui.js')"], function($) {
16 + require(['jstree',"$services.webjars.url('jstree', 'jstree.js')"], function($) {
17 + $('treeeee').on('ready.jstree', function() {
18 + $("treeeee").jstree("open_all");
19 + });
20 +});
22 22  
22 +});
23 23  
24 +
25 +</script>
26 +
27 +{{/html}}
28 +
24 24  {{/velocity}}
25 25