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

Javascript makes message box Incorrectly.

XMLWordPrintable

    • Sprint 63 (Apr 2020), Sprint 64 (May 2020), Sprint 65 (Jun 2020)
    • 0.25

      Client side message-box formatting function makeMessageBox works incorrectly.

      When simple message-box is created with PHP, message path looks as follow:

      output.msg-* > span > [text node]

      But equal message made with javascript uses list:

      output.msg-* > div.msg-details > ul > li > [text node] 

      As the result, font-size in message-box looks smaller, because list items has additional CSS style:

      font-size: 0.85em; 

      As result, message looks smaller when made by javascript. This become a problem when we started to use message-boxes in main window.

        1. msg_font_size.png
          24 kB
          Andrejs Griščenko

            agriscenko Andrejs Griščenko
            Miks.Kronkalns Miks Kronkalns
            Team D
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: