MDL-43247 SCORM: improve pop-up handling and redirect to homepage on close.

This commit is contained in:
Dan Marsden 2014-01-06 09:43:39 +13:00
parent f05e25d208
commit 9d22765723
4 changed files with 50 additions and 4 deletions

View file

@ -822,7 +822,7 @@ function scorm_view_display ($user, $scorm, $action, $cm) {
$organization = optional_param('organization', '', PARAM_INT);
if ($scorm->displaycoursestructure == 1) {
echo $OUTPUT->box_start('generalbox boxaligncenter toc');
echo $OUTPUT->box_start('generalbox boxaligncenter toc', 'toc');
?>
<div class="structurehead"><?php print_string('contents', 'scorm') ?></div>
<?php