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

Expanding navigation item adds the block region when editing is enabled

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Switch to the Clean theme
      2. Go to a course page
      3. Move all of the blocks to the left
      4. Turn editing on (or refresh the page if it's already on)
      5. Try dragging a block back to the right-hand side
        • Confirm that the right-hand block region appears
        • Confirm that you are able to place it into the right-hand block region
      6. Move it back to the left
      7. Try dragging an activity/resource
        • Confirm that the right-hand block regions are not enabled
      Show
      Switch to the Clean theme Go to a course page Move all of the blocks to the left Turn editing on (or refresh the page if it's already on) Try dragging a block back to the right-hand side Confirm that the right-hand block region appears Confirm that you are able to place it into the right-hand block region Move it back to the left Try dragging an activity/resource Confirm that the right-hand block regions are not enabled
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull Master Branch:
      MDL-43145-master

      Description

      To reproduce:

      1. Switch theme to Clean
      2. Create course, go to news forum and create a discussion (so the page is not empty)
      3. Note that on the forum view page only left region for the blocks is visible
      4. Expand navigation item "Course administration"
      5. Suddenly the content changes the size leaving space for non-existent right block region

      Looking at page source I can see that expanding navigation item adds class "used-region-side-post" to the page body.

      Reproduced on 2.6, not sure if it is present on 2.5 as well or not

        Attachments

          Issue Links

            Activity

              People

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

                Dates

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