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


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

      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?

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


                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.