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

Console error: "TypeError: element.focus is not a function" is appearing in Mass update -> Macros / Value Mapping - Remove all

XMLWordPrintable

    • Sprint 104 (Sep 2023), Sprint 105 (Oct 2023), Sprint 106 (Nov 2023)
    • 0.25

      Steps to reproduce:

      1. Open Data collection -> Hosts
      2. Check the checkbox for any host
      3. Click Mass update -> Value mapping/ Macros
      4. Select Remove all, but leave the confirmation checkbox unchecked
      5. Click Update
      6. Accept the notification pop-up

      Result:
      The console error is appearing:

      jsLoader.php?lang=en_US&ver=7.0.0alpha5&showGuiMessaging=1:18450 Uncaught TypeError: element.focus is not a function
          at removeFromOverlaysStack (jsLoader.php?lang=en_US&ver=7.0.0alpha5&showGuiMessaging=1:18450:12)
          at overlayDialogueDestroy (jsLoader.php?lang=en_US&ver=7.0.0alpha5&showGuiMessaging=1:25435:3)
          at Overlay.<anonymous> (jsLoader.php?lang=en_US&ver=7.0.0alpha5&showGuiMessaging=1:20817:5)
          at HTMLButtonElement.dispatch (jsLoader.php?lang=en_US&ver=7.0.0alpha5&showGuiMessaging=1:5432:27)
          at elemData.handle (jsLoader.php?lang=en_US&ver=7.0.0alpha5&showGuiMessaging=1:5236:28)
      

      See video:

      Expected:
      No console errors should appear

            agriscenko Andrejs Griščenko
            ngogolevs Nikita Gogolevs
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: