Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-3701

iOS: SCORM package reloaded when clicking a link with href '#' and handled via JS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 3.9.5
    • 3.9.4
    • SCORM add-on
    • Hide

      This issue should be tested in 1 Android and 1 iOS device.

      1. Login in the site of the private comment and open the SCORM.
      2. Scroll down until you see 2 tabs.
      3. Check that you can change tabs. Check that the scroll doesn't change after changing the tabs (before this patch you were sent to the top of the package).
      Show
      This issue should be tested in 1 Android and 1 iOS device. Login in the site of the private comment and open the SCORM. Scroll down until you see 2 tabs. Check that you can change tabs. Check that the scroll doesn't change after changing the tabs (before this patch you were sent to the top of the package).
    • MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • Moodle App 3.9.5

    Description

      It seems our code is executed before the SCORM's Javascript listener. This means that event.defaultPrevented is false, and the app treats the link without knowing that it must be treated by the SCORM. This causes the SCORM to be reloaded.

       

      Attachments

        1. 2021-06-01 15.48.11.jpg
          19 kB
          Isabel Renedo Rouco
        2. Screenshot 2021-06-01 at 15.38.52.png
          601 kB
          Isabel Renedo Rouco
        3. Screenshot 2021-06-01 at 15.42.53.png
          413 kB
          Isabel Renedo Rouco

        Activity

          People

            dpalou Dani Palou
            dpalou Dani Palou
            Pau Ferrer Pau Ferrer
            Pau Ferrer Pau Ferrer
            Isabel Renedo Rouco Isabel Renedo Rouco
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Clockify

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