Changes for page Documents Macro

Last modified by Ludovic Dubost on 2024/07/22 15:50

From version 3.1
edited by Ludovic Dubost
on 2015/09/01 11:46
Change comment: Install extension [org.xwiki.platform:xwiki-platform-index-ui-7.1]
To version 1.1
edited by Ludovic Dubost
on 2014/03/30 19:46
Change comment: Imported from XAR

Summary

Details

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -24,7 +24,7 @@
24 24   #set ($extraParams = "&space=$escapetool.url($xcontext.macro.params.space)")
25 25  #end
26 26  #if ("$!xcontext.macro.params.parent" != "")
27 - #set ($extraParams = "$!{extraParams}&parent=$escapetool.url($xcontext.macro.params.parent)")
27 + #set ($extraParams = "${extraParams}&parent=$escapetool.url($xcontext.macro.params.parent)")
28 28  #end
29 29  #if ("$!extraParams" != "")
30 30   #set($discard = $options.put('extraParams', $extraParams))
... ... @@ -31,7 +31,7 @@
31 31  #end
32 32  #if(!$isGuest && $xcontext.macro.params.actions == "true")
33 33   #set($discard = $collist.add('_actions'))
34 - #set($discard = $colprops.put('_actions', { 'actions' : ['copy', 'rename', 'rights', 'delete'] }))
34 + #set($discard = $colprops.put('_actions', { 'actions' : ['copy', 'delete', 'rename', 'rights'] }))
35 35  #end
36 36  #if ("$!xcontext.macro.params.id" != "")
37 37   #set ($livetableId = $xcontext.macro.params.id)