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

When returning from modedit.php to course/view.php, go to the appropriate section in more cases

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.2
    • Fix Version/s: 2.0.3
    • Component/s: Course
    • Labels:
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      In a few places, when you get sent back from course/modedit.php to course/view.php, it adds "#section-".$cw->section to send you back to the appropriate part of the course page. There are a number of other places where it does not bother to do that.

      This patch adds the missing "#section-".$cw->section bits.

      Note that I chose to do a minimal patch, rather than changing everything to use moodle_url. Let me know if you would rather I did this differently.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    5/May/11