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

Unable to specify anchor in the target URL for single_button

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.2
    • Fix Version/s: 2.0.3
    • Component/s: Libraries, Usability
    • Labels:
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Currently, single_button ignores the anchor part of moodle_url. That leads to usability issues as we can not specify target anchors for continue buttons, confirmation/cancel buttons etc.

      After discussed with Petr, this is triaged for STABLE and will be available only for single_buttons working via GET method (when using POST, we should redirect away and not to stay at the anchor).

      The usability benefit of this patch is demonstrated in the new activity module duplication tool where the user is redirected to the relevant course section.

        Attachments

          Activity

            People

            • Assignee:
              mudrd8mz David Mudrák (@mudrd8mz)
              Reporter:
              mudrd8mz David Mudrák (@mudrd8mz)
              Tester:
              Glenn Ansley
              Participants:
              Component watchers:
              Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón, Barbara Ramiro, Jake Dallimore, Jun Pataleta, Ryan Wyllie
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

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