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

Javascript makes message box Incorrectly.

    XMLWordPrintable

    Details

    • Team:
      Team D
    • Sprint:
      Sprint 63 (Apr 2020), Sprint 64 (May 2020), Sprint 65 (Jun 2020)
    • Story Points:
      0.25

      Description

      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.

        Attachments

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

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: