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

JavaScript error In IE7 when opening SCORM content in a new window

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.8.7, 1.9.3, 2.0
    • Fix Version/s: 1.8.7, 1.9.3, 2.0
    • Component/s: SCORM
    • Labels:
      None
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      When trying to open a a SCORM content in a new window using IE7, new windows fails to open with JavaScript error:

      Line: 158
      Char: 29
      Error: Invalid argument
      Code: 0
      URL: http://yourdomain.tld/mod/scorm/player.php?a=1&scoid=2

      Error does not appears when using Firefox 2. Problem appeared just after the weekly update with build 20080730, previous weekly build was not affected.

      To reproduce:
      1. add a new SCORM activity int a Moodle course
      2. set window size, and set SCORM to be opened in a new window. Allow window to be resized and scrolled.
      3. try access the SCORM form the course: in FF2 new window opens, in IE7 new window fails with JavaScript error

        Attachments

          Activity

            People

            • Assignee:
              piers Piers Harding
              Reporter:
              andreabix Andrea Bicciolo
              Tester:
              Petr Skoda
              Participants:
              Component watchers:
              Damyon Wiese, Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Mihail Geshoski, Peter Dias
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                15/Oct/08