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

Drag and drop blocks does not work with subpage values and custom regions

    Details

    • Testing Instructions:
      Hide

      Ensure that there is no regression on block drag and drop within a course.

      1. Go into a course
      2. Turn on editing
      3. Try re-arranging blocks within the same region and across different regions (EG: drag a block from the left side to the right side)
      Show
      Ensure that there is no regression on block drag and drop within a course. Go into a course Turn on editing Try re-arranging blocks within the same region and across different regions (EG: drag a block from the left side to the right side)
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE

      Description

      This primarily helps to bring in support for Flexpage with drag and drop block support. But, there is nothing unique happening here. For example: I believe this would allow drag and drop blocks to work on the My Moodle page with the custom center block region of "content" (may need some extra dom around the content block region).

      So, changes include:

      • Passing subpage value to lib/ajax/blocks.php
      • Don't assume that every region starts with "side-"

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

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