Skip to content
Browse files

Fixed two typos

  • Loading branch information...
1 parent d571137 commit 2ddb242f56302127186490d2674cc1d6b8343730 bobopinna committed
Showing with 3 additions and 2 deletions.
  1. +1 −1 mod/scorm/mod.html
  2. +2 −1 mod/scorm/playscorm.php
View
2 mod/scorm/mod.html
@@ -253,7 +253,7 @@
<tr valign="top">
<td align="right">
<b><?php print_string("stagesize","scorm") ?></b>
- <?php helpbutton("stagesize", get_string("stagesize", "scorm"), "scorm", true); ?>
+ <?php helpbutton("size", get_string("stagesize", "scorm"), "scorm", true); ?>
</td>
<td>&nbsp;</td>
</tr>
View
3 mod/scorm/playscorm.php
@@ -83,7 +83,7 @@
//
$scripts = '';
if ($scorm->popup == 1) {
- $scripts = 'onUnload="top.main.close();"';
+ $scripts = 'onunload="top.main.close();"';
}
print_header($pagetitle, "$course->fullname",
@@ -151,6 +151,7 @@
?>
function playSCO(scoid) {
if (scoid == 0) {
+ //top.main.close();
document.location = '<?php echo $CFG->wwwroot ?>/course/view.php?id=<?php echo $cm->course ?>';
} else {
document.navform.scoid.value=scoid;

0 comments on commit 2ddb242

Please sign in to comment.
Something went wrong with that request. Please try again.