Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-7214

avoid adding useless class attribute for all html tags if no class is required

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 2.1.9
    • Fix Version/s: None
    • Component/s: Frontend (F)
    • Labels:

      Description

      While checking the html source of the zabbix frontend I noticed that all and every html tag had a class attribute, empty in many occasions. Out of curiosity I tried to find why, and noticed that it could be easily fixed;

      • in include/classes/class.ctag.php
      • enclose line 67 (in version 2.1.9) in a if (!is_null($class)) { }

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            mose Mose
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: