Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.5.8, 2.6.5, 2.7, 2.8
-
MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE
-
MOODLE_26_STABLE, MOODLE_27_STABLE
-
MDL-47882_scorm_loadsco_invalid_html -
Easy
-
Description
This is a trivial html error/type, where </p> was entered as <p>.
In loadSCO.php, the redirect has a timer showing how many seconds until redirect, which prints essentially this:
<p>Loading ... <span id='countdown'>XX</span> seconds<p>
|
The "/" missing from the close tag causes a Javascript error in IE in the two lines that follow the type:
var e = document.getElementById("countdown");
|
var cSeconds = parseInt(e.innerHTML);
|
FYI to Dan and Vignesh - I have several more issues coming your way next week, including some significant regressions. I have fixes in place, I just need to get them cleaned up, committed to Github, tests written where appropriate, etc.