Details

    • Testing Instructions:
      Hide

      I apologise in advance

      1. Look at the diff and access each form
      2. Make sure the sections are collapsed as they should be
        • Everything is collapsed
        • Except the first section which is always expanded
        • When the whole form has only 2 sections, none of them is collapsible, but expanded
      3. Make sure you don't see any PHP error or JS error
      Show
      I apologise in advance Look at the diff and access each form Make sure the sections are collapsed as they should be Everything is collapsed Except the first section which is always expanded When the whole form has only 2 sections, none of them is collapsible, but expanded Make sure you don't see any PHP error or JS error
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-38005-master

      Description

      This is happening in the latest integration branch.

      Replication steps:

      1. Open Firefox, turn on Firebug and click on the errors panel.
      2. Visit a course settings page, either edit an existing course or add a new course.
      3. Expand a settings area by clicking on the arrow next to the heading, such as 'Groups'.

      The following JS error will occur...

      TypeError: statuselement.get is not a function
       
      statuselement.set('value', Math.abs(Number(statuselement.get('value'))-1));
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    14/May/13