Changes for page Rangee Index

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

From version 7.34
edited by Tobias Wintrich
on 2021/09/27 14:48
Change comment: There is no comment for this version
To version 7.27
edited by Tobias Wintrich
on 2021/09/24 17:01
Change comment: There is no comment for this version

Summary

Details

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