Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-83580

Error e.target.closest is not a function in the footer-popover.js

    • MOODLE_404_STABLE, MOODLE_405_STABLE
    • MDL-83580-405
    • Hide

      Perform tests in both Chrome & Firefox

      Test fix

      1. Open browser developer console
      2. Log in as admin
      3. Press on the question mark in the page footer to open the footer popup
      4. Move focus out of the browser window (click on your desktop)
      5. Now move focus back into your browser window (click somewhere on the page)
      6. Confirm there is no error in the browser console
      7. Confirm the footer popup is closed

      Regression test

      1. Repeat all steps from MDL-73609
      Show
      Perform tests in both Chrome & Firefox Test fix Open browser developer console Log in as admin Press on the question mark in the page footer to open the footer popup Move focus out of the browser window (click on your desktop) Now move focus back into your browser window (click somewhere on the page) Confirm there is no error in the browser console Confirm the footer popup is closed Regression test Repeat all steps from MDL-73609
    • Hide

      Code verified against automated checks.

      Checked MDL-83580 using repository: https://github.com/paulholden/moodle.git

      More information about this report

      Built on: Mon 04 Nov 2024 10:49:20 PM UTC

      Show
      Code verified against automated checks. Checked MDL-83580 using repository: https://github.com/paulholden/moodle.git MOODLE_404_STABLE (0 errors / 0 warnings) [branch: MDL-83580-404 | CI Job ] MOODLE_405_STABLE (0 errors / 0 warnings) [branch: MDL-83580-405 | CI Job ] main (0 errors / 0 warnings) [branch: MDL-83580 | CI Job ] More information about this report Built on: Mon 04 Nov 2024 10:49:20 PM UTC

      STEPS TO REPLICATE

      1. Use Firefox browser
      2. Open a new tab and access Moodle
      3. Open the web developer console. Focus on the console tab.
      4. Click the question mark icon at the bottom right. Keep it open.
      5. Open the new browser tab
      6. Back to the first browser tab where the Moodle exist.

      EXPECTED

      There is no error in the console.

      ACTUAL

      There is an error in the console.

      Uncaught TypeError: e.target.closest is not a function

      NOTE

      It did not happen on Chrome and Opera.

            pholden Paul Holden
            meirza.arson@moodle.com Meirza
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.