Changes for page Rangee Index
Last modified by Tobias Wintrich on 2025/06/04 09:20
From version 7.37
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.32
edited by Tobias Wintrich
on 2021/09/27 14:42
on 2021/09/27 14:42
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -9,20 +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.getChildren()) 16 - * [[$child]] 17 - #foreach ($subchild in $xwiki.getDocument($child).getChildren()) 18 - ** [[$subchild]] 19 - #foreach ($subsubchild in $xwiki.getDocument($subchild).getChildren()) 20 - *** [[$subsubchild]] 21 - #end 22 - #end 23 -#end 24 -{{/tree}} 14 +<script type='text/javascript'> 15 +require(['jquery',"$services.webjars.url('jquery-ui', 'jquery-ui.js')"], function($) { 16 + require(['jstree',"https://kb.rangee.com/webjars/wiki%3Axwiki/jstree/3.3.8/jstree.min.js"], function($) { 17 + $('treeeee').on('ready.jstree', function() { 18 + $("treeeee").jstree("open_all"); 19 + }); 20 +}); 25 25 22 +}); 26 26 24 + 25 +</script> 26 + 27 +{{/html}} 28 + 27 27 {{/velocity}} 28 28