-
Bug
-
Resolution: Fixed
-
Major
-
2.2.2, 2.3.4, 2.4.1, 2.5
-
MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
-
MOODLE_24_STABLE
-
master_
MDL-33078 -
Currently only the TOC is updated after each call to LMSFinish(), but not after each LMSCommit().
If a SCORM package is configured with "<adlcp:prerequisites>" the user has no way to continue to the next menu item after completing the prerequisites.
Posible fix: add this to scorm_12.js.php line 449
// trigger TOC update
var sURL = "<?php echo $CFG->wwwroot; ?>" + "/mod/scorm/prereqs.php?a=<?php echo $scorm->id ?>&scoid=<?php echo $scoid ?>&attempt=<?php echo $attempt ?>&mode=<?php echo $mode ?>¤torg=<?php echo $currentorg ?>&sesskey=<?php echo sesskey(); ?>";
YAHOO.util.Connect.asyncRequest('GET', sURL, this.connectPrereqCallback, null);