Changes for page Treeview

Last modified by Ludovic Dubost on 2023/04/25 09:12

From version 5.1
edited by Ludovic Dubost
on 2010/11/03 01:15
Change comment: There is no comment for this version
To version 6.1
edited by Ludovic Dubost
on 2010/11/03 01:16
Change comment: There is no comment for this version

Summary

Details

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -35,7 +35,7 @@
35 35  #if($maxdepth)
36 36   #set($maxdepth = 3)
37 37  #end
38 -#foreach($i in 1..$maxdepth)
38 +#foreach($i in [1..$maxdepth])
39 39   #if($velocityCount==1)
40 40   #addlevel(true)
41 41   #else