Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-33934 META: Issues with MyMobile theme
  3. MDL-33190

Links with anchors are broken in mobile theme

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Won't Fix
    • Minor
    • None
    • 2.2.3
    • Themes
    • MOODLE_22_STABLE

    Description

      As the MyMobile theme utilizes jQuery Mobile, it's subjected to the same limitation of jQM where the hash/anchor is used for tracking AJAX and history (or pageID in multipage). Thus, native/traditional use of the anchors no longer works, and even breaks the link as the anchors are interpreted differently by jQM.

      For example, at the summary page of a quiz, there are links with anchors to go back to the questions, but these links are broken. Instead of going to attempt.php?attempt=9#q3, jQM sends an AJAX request to summary.php?attempt=9, preventing users from going back to the questions.

      Maybe the renderer of the theme can intercept these links and add proper attributes so jQM can work with them?

      Attachments

        Activity

          People

            Unassigned Unassigned
            sillyxone Huy Hoang
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: