Loading...
 
Skip to main content

Hard-coded icons in js files

Status
Closed
Subject
Hard-coded icons in js files
Version
14.x
15.x
Category
  • Consistency
Feature
Theme: Look & feel, Styles, CSS, Theme Control Center
Resolution status
Out of Date
Submitted by
lindon
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

Some icons are hard-coded through javascript files. One example from lib/jquery_tiki/tiki-trackers.js line 139:

Copy to clipboard
$row.append($('<td class="action"/>').append($('<a href="#" class="text-danger"><span class="glyphicon glyphicon-remove"/></a>')


This line hard codes a glyphicon icon regardless of the iconset set by the admin. In php files this can be fixed by loading the smarty function icon but haven't been able to fix here (tried using ajax services).

Importance
3
Easy to solve?
3
Priority
9
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5568
Created
Sunday 01 March, 2015 16:24:59 UTC
by lindon
LastModif
Monday 05 February, 2018 08:00:04 UTC


Show PHP error messages