Changes for page Icon Picker Macro

Last modified by Administrator on 2023/09/07 22:43

From version 4.1
edited by Administrator
on 2022/08/27 19:57
Change comment: Install extension [org.xwiki.platform:xwiki-platform-icon-ui/14.6]
To version 2.1
edited by Administrator
on 2022/01/30 02:09
Change comment: Replaced user [xwiki:XWiki.admin] in fields [author, contentAuthor] to user [xwiki:XWiki.Administrator]

Summary

Details

XWiki.WikiMacroClass[0]
Cached
... ... @@ -1,1 +1,0 @@
1 -No
Asynchronous rendering
... ... @@ -1,1 +1,0 @@
1 -No
Macro code
... ... @@ -22,10 +22,10 @@
22 22   options['prefix'] = '$escapetool.javascript($xcontext.macro.params.prefix)';
23 23   #end
24 24   #if("$!xcontext.macro.params.id" != '')
25 - $('#${escapetool.javascript(${xcontext.macro.params.id})}').xwikiIconPicker(options);
25 + $('#${xcontext.macro.params.id}').xwikiIconPicker(options);
26 26   #end
27 27   #if("$!xcontext.macro.params.get('class')" != '')
28 - $('.${escapetool.javascript(${xcontext.macro.params.get('class')})}').xwikiIconPicker(options);
28 + $('.${xcontext.macro.params.get('class')}').xwikiIconPicker(options);
29 29   #end
30 30   });
31 31  </script>
Default category
... ... @@ -1,0 +1,1 @@
1 +Development
Default categories
... ... @@ -1,1 +1,0 @@
1 -Development