Item13460: JQICON FontAwesome icons are not working.

Priority: Normal
Current State: Closed
Released In: 2.0.0
Target Release: major
Applies To: Extension
Component: JQueryPlugin
Branches: master
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
-- GeorgeClark - 16 Jun 2015

diff --git a/JQueryPlugin/lib/Foswiki/Plugins/ b/JQueryPlugin/lib/Foswiki/Plugins/
index 24eb802..801e46e 100644
--- a/JQueryPlugin/lib/Foswiki/Plugins/
+++ b/JQueryPlugin/lib/Foswiki/Plugins/
@@ -368,12 +368,13 @@ sub handleJQueryIcon {
         $iconFormat = '<i class=\'$iconClass\' $iconStyle $iconTitle></i>';
         $iconPath   = '';
         $iconClass  = "foswikiIcon jqIcon fa $iconName";
+        createPlugin("fontawesome");
     # default img based
     else {
         $iconFormat =
-'<img src=\'$iconPath\' class=\'$iconClass\' $iconStyle $iconAlt$iconTitle/>'
+'<img src=\'$iconPath\' class=\'$iconClass $iconName\' $iconStyle $iconAlt$iconTitle/>'
           unless $iconFormat;
         $iconPath =

-- MichaelDaum - 16 Jun 2015

ItemTemplate edit

Summary JQICON FontAwesome icons are not working.
ReportedBy GeorgeClark
Codebase 1.2.0 beta2, 1.2.0 beta1, trunk
SVN Range
AppliesTo Extension
Component JQueryPlugin
Priority Normal
CurrentState Closed
Checkins distro:52de18fadf23
TargetRelease major
ReleasedIn 2.0.0
CheckinsOnBranches master
masterCheckins distro:52de18fadf23
Topic revision: r4 - 05 Jul 2015, GeorgeClark - This page was cached on 26 Oct 2016 - 07:56.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License