Changes for page Macros

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

From version 2.194
edited by Jip-jan Alunkel
on July 14, 01:39
Change comment: Update document after refactoring.
To version 2.197
edited by Jip-jan Alunkel
on July 14, 01:45
Change comment: Update document after refactoring.

Summary

Details

Page properties
Content
... ... @@ -173,8 +173,8 @@
173 173   #else
174 174   #set($jsondoc = $xwiki.getDocument($O_elementData.select-json))
175 175   #set($discard = $jsondoc.setContentType('application/json'))
176 - #set($jsoncontent = $jsontool.serialize($jsondoc.getContent()))
177 - #set($j = $jsontool.fromString($jsoncontent))
176 + #set($json = $jsontool.serialize($jsondoc.getContent()))
177 + #set($j = $jsontool.fromString($json))
178 178  #set($assign = "$escapetool.getHash()set($map = $j)")
179 179  #evaluate($assign)
180 180