Changes for page Macros

Last modified by Jip-jan Alunkel on April 15, 18:09

From version 2.159
edited by Jip-jan Alunkel
on July 13, 23:38
Change comment: Update document after refactoring.
To version 2.155
edited by Jip-jan Alunkel
on July 13, 23:23
Change comment: Update document after refactoring.

Summary

Details

Page properties
Content
... ... @@ -169,14 +169,10 @@
169 169   #end
170 170   #elseif($O_elementData.select-json)
171 171   #if($O_elementData.select-json.keySet())
172 -json
173 -#set($json = $O_elementData.select-json)
172 + #set($json = $O_elementData.select-json)
174 174   #else
175 - #set($json = $xwiki.getDocument($O_elementData.select-json))
176 -$json
177 -$jsontool.serialize($json)
178 -not json
179 -
174 + #set($json = $xwiki.getDocument($O_elementData.select-json)
175 +
180 180   #end
181 181   #foreach($key in $json.keySet())
182 182   #if($O_elementData.select-json-spaces == "true")