mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
Merge branch 'MDL-39219_scorm_ie7' of git://github.com/davosmith/moodle
This commit is contained in:
commit
9da8c53295
@ -281,7 +281,12 @@ if (empty($scorm->popup) || $displaymode == 'popup') {
|
||||
if (!isset($result->toctitle)) {
|
||||
$result->toctitle = get_string('toc', 'scorm');
|
||||
}
|
||||
$PAGE->requires->js_init_call('M.mod_scorm.init', array($scorm->hidenav, $scorm->hidetoc, $result->toctitle, $name, $sco->id, $adlnav));
|
||||
$jsmodule = array(
|
||||
'name' => 'mod_scorm',
|
||||
'fullpath' => '/mod/scorm/module.js',
|
||||
'requires' => array('json'),
|
||||
);
|
||||
$PAGE->requires->js_init_call('M.mod_scorm.init', array($scorm->hidenav, $scorm->hidetoc, $result->toctitle, $name, $sco->id, $adlnav), false, $jsmodule);
|
||||
}
|
||||
if (!empty($forcejs)) {
|
||||
echo $OUTPUT->box(get_string("forcejavascriptmessage", "scorm"), "generalbox boxaligncenter forcejavascriptmessage");
|
||||
|
Loading…
x
Reference in New Issue
Block a user