Item13460: JQICON FontAwesome icons are not working.

pencil
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/JQueryPlugin.pm b/JQueryPlugin/lib/Foswiki/Plugins/JQueryPlugin.pm
index 24eb802..801e46e 100644
--- a/JQueryPlugin/lib/Foswiki/Plugins/JQueryPlugin.pm
+++ b/JQueryPlugin/lib/Foswiki/Plugins/JQueryPlugin.pm
@@ -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 =
           Foswiki::Plugins::JQueryPlugin::Plugins::getIconUrlPath($iconName);

-- 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
WaitingFor
Checkins distro:52de18fadf23
TargetRelease major
ReleasedIn 2.0.0
CheckinsOnBranches master
trunkCheckins
masterCheckins distro:52de18fadf23
ItemBranchCheckins
Release01x01Checkins
Topic revision: r4 - 05 Jul 2015, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy