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

Unable to specify anchor in the target URL for single_button

    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.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            mudrd8mz David Mudrák added a comment -

            Patch submitted for the integration. All widgets using single_button with 'get' method and single_select with 'get' method now supports URL#anchors

            Show
            mudrd8mz David Mudrák added a comment - Patch submitted for the integration. All widgets using single_button with 'get' method and single_select with 'get' method now supports URL#anchors
            Hide
            tsala Helen Foster added a comment -

            Thanks David

            Show
            tsala Helen Foster added a comment - Thanks David

              People

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

                Dates

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