Changes for page Icon Picker

Last modified by superadmin on 2025/05/07 14:14

From version 1.1
edited by Thomas Coelho (local)
on 2022/04/20 16:06
Change comment: Install extension [org.xwiki.platform:xwiki-platform-icon-ui/14.2.1]
To version 2.1
edited by Thomas Coelho (local)
on 2023/07/26 11:22
Change comment: Install extension [org.xwiki.platform:xwiki-platform-icon-ui/15.5]

Summary

Details

Page properties
Content
... ... @@ -10,7 +10,7 @@
10 10   #set($map = {})
11 11   #set($discard = $map.put('iconThemes', $services.icon.iconSetNames))
12 12   #set($discard = $map.put('currentIconTheme', $services.icon.currentIconSetName))
13 - $jsontool.serialize($map)
13 + #jsonResponse($map)
14 14  ###########################
15 15  ## DATA: ICONS
16 16  ###########################
... ... @@ -23,7 +23,7 @@
23 23   #set($discard = $icon.put('render', $services.icon.renderHTML($xwikiIcon, $iconTheme)))
24 24   #set($discard = $icons.add($icon))
25 25   #end
26 - $jsontool.serialize($icons)
26 + #jsonResponse($icons)
27 27  #else
28 28  = Presentation =
29 29  The Icon Picker is a jQuery plugin written by XWiki to help user selecting an icon. See [[IconPickerMacro]] for using this picker easily. If you want to use it manually, read the following.