Änderungen von Dokument Icon Picker Macro

Zuletzt geändert von xwikiadmin am 2023/10/26 09:30

Von Version 2.1
bearbeitet von xwikiadmin
am 2022/08/11 17:13
Änderungskommentar: Migrated property [defaultCategories] from class [XWiki.WikiMacroClass]
Auf Version 3.1
bearbeitet von xwikiadmin
am 2022/08/11 17:15
Änderungskommentar: Install extension [org.xwiki.platform:xwiki-platform-icon-ui/14.6]

Zusammenfassung

Details

XWiki.WikiMacroClass[0]
Cached
... ... @@ -1,0 +1,1 @@
1 +Nein
Asynchrones Rendern
... ... @@ -1,0 +1,1 @@
1 +Nein
Makro-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 - $('#${xcontext.macro.params.id}').xwikiIconPicker(options);
25 + $('#${escapetool.javascript(${xcontext.macro.params.id})}').xwikiIconPicker(options);
26 26   #end
27 27   #if("$!xcontext.macro.params.get('class')" != '')
28 - $('.${xcontext.macro.params.get('class')}').xwikiIconPicker(options);
28 + $('.${escapetool.javascript(${xcontext.macro.params.get('class')})}').xwikiIconPicker(options);
29 29   #end
30 30   });
31 31  </script>
Default categories
... ... @@ -1,0 +1,1 @@
1 +Development
Standardkategorie
... ... @@ -1,1 +1,0 @@
1 -Development