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

Target is ignored when redefining window.open inside an iframe

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.6.0
    • 3.5.2
    • SCORM add-on
    • Hide
      1. Login in mobile 34 as a student.
      2. Open Course with SCORMs > SVG NON-SCALABLE > Informationssicherheit_Gerald
      3. Play the SCORM and, once it is loaded, go back to the entry page. Check that no error is displayed (it used to display an error saying that file could not be opened because it had no extension).
      Show
      Login in mobile 34 as a student. Open Course with SCORMs > SVG NON-SCALABLE > Informationssicherheit_Gerald Play the SCORM and, once it is loaded, go back to the entry page. Check that no error is displayed (it used to display an error saying that file could not be opened because it had no extension).
    • MOODLE_35_STABLE
    • MOODLE_36_STABLE
    • Moodle Mobile 3.6.0

      We treat the target when a user clicks in a link inside an iframe, but we ignore the target when redefining window.open.

      The code is in here:

      https://github.com/moodlehq/moodlemobile2/blob/master/src/providers/utils/iframe.ts#L93

            dpalou Dani Palou
            dpalou Dani Palou
            Albert Gasset Albert Gasset
            Juan Leyva Juan Leyva
            Pau Ferrer Pau Ferrer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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