From version < 2.1 >
edited by Administrator
on 2020/01/14 13:54
To version < 4.1
edited by Administrator
on 2020/01/14 14:40
<
Change comment: Install extension [org.xwiki.platform:xwiki-platform-icon-ui/11.10.2]

Summary

Details

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -7,6 +7,7 @@
7 7   $services.icon.render('wiki', $iconSetName)
8 8   #end
9 9  {{/velocity}}
10 +
10 10  {{velocity}}
11 11  {{html clean="false"}}
12 12  <script language="javascript">
... ... @@ -17,7 +17,7 @@
17 17   });
18 18   require(['jquery', 'xwiki-icon-picker'], function($) {
19 19   var options = {};
20 - #if("$!xcontext.macro.params.prefix" != '')
21 + #if($xcontext.macro.params.parameterNames.contains('prefix'))
21 21   options['prefix'] = '$escapetool.javascript($xcontext.macro.params.prefix)';
22 22   #end
23 23   #if("$!xcontext.macro.params.id" != '')
... ... @@ -30,4 +30,3 @@
30 30  </script>
31 31  {{/html}}
32 32  {{/velocity}}
33 -
No changes
This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 11.10.2 - Documentation