mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Merge branch 'master_MDL-50972' of https://github.com/danmarsden/moodle
This commit is contained in:
commit
3adcec2b70
2 changed files with 2 additions and 0 deletions
|
@ -51,6 +51,7 @@ if (intval(get_config("scorm", "scorm12standard"))) {
|
|||
$cmistring4096 = $cmistring256;
|
||||
}
|
||||
|
||||
$scorm->autocommit = ($scorm->autocommit === "1") ? true : false;
|
||||
$PAGE->requires->js_init_call('M.scorm_api.init', array($def, $cmiobj, $cmiint, $cmistring256, $cmistring4096,
|
||||
scorm_debugging($scorm), $scorm->auto, $scorm->id, $CFG->wwwroot,
|
||||
sesskey(), $scoid, $attempt, $mode, $id, $currentorg, $scorm->autocommit));
|
||||
|
|
|
@ -47,6 +47,7 @@ if ($scoes = $DB->get_records('scorm_scoes', array('scorm' => $scorm->id), 'sort
|
|||
}
|
||||
}
|
||||
|
||||
$scorm->autocommit = ($scorm->autocommit === "1") ? true : false;
|
||||
$PAGE->requires->js_init_call('M.scorm_api.init', array($def, $cmiobj, $cmiint, $cmicommentsuser, $cmicommentslms,
|
||||
scorm_debugging($scorm), $scorm->auto, $scorm->id, $CFG->wwwroot,
|
||||
sesskey(), $scoid, $attempt, $mode, $id, $currentorg, $scorm->autocommit));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue