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

Collapsible regions break JS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Waiting for peer review
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.5.6, 3.6.4, 3.7.1, 3.8
    • Fix Version/s: None
    • Component/s: JavaScript
    • Labels:

      Description

      If a collapsible region is defined but never output the javascript on the page gets broken.

      I found this bug using the collapsible filter on the lesson activity but have supplied a script to easily reproduce (drop it into the site root).

        Attachments

          Activity

            People

            • Assignee:
              andrew_dc_hancox Andrew Hancox
              Reporter:
              andrew_dc_hancox Andrew Hancox
              Participants:
              Component watchers:
              Jake Dallimore, Jun Pataleta
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: