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

mod_lesson progress bar is missing a closing </div> tag

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.3.5, 4.4.1, 4.5
    • Lesson
    • MOODLE_403_STABLE, MOODLE_404_STABLE, MOODLE_405_STABLE

      In mod_lesson_renderer::progress_bar() there are 3 start_tag divs but only 2 end_tag divs. The browser usually handles this by filling in the missing div but in some cases it might make elements move around.

      This doesn't look to be an issue in theme_boost but in a custom theme we use it is causing an issue and an element ends up in the incorrect place.

      Best way to test this is to use xdebug and check $content has matching open and closing div tags.

            Unassigned Unassigned
            rhell4 Rossco Hellmans
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

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