Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects 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
Thanks Andrea - Piers is looking at this now.
I'm pretty sure the code that would have caused this has been in HEAD for quite a while! - and we spent quite a bit of time testing it, - unfortunately looks like we missed this! - any chance you might be able to do some more testing for us before we commit stuff to stable trees?
Dan