Permalink
Browse files

Fixed a problem with onbeforeunload

  • Loading branch information...
1 parent 59c71f4 commit 7f02f534d0bc3052333ccfd48832c78624623a46 bobopinna committed Sep 20, 2004
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/scorm/playscorm.php
View
@@ -270,7 +270,7 @@ function expandCollide(which,list) {
echo "<html>\n";
echo "<head><title>$course->shortname: $scorm->name</title></head>\n";
echo "<script id=\"scormAPI\" language=\"JavaScript\" type=\"text/javascript\" src=\"scormAPI.php?id=$cm->id&amp;mode=".$mode.$scoid."\"></script>\n";
- echo "<frameset rows=\"$CFG->scorm_framesize,*\" onLoad=\"SCOInitialize();\" onUnload=\"SCOFinish();\" onbeforeUnload=\"SCOFinish();\">\n";
+ echo "<frameset rows=\"$CFG->scorm_framesize,*\" onLoad=\"SCOInitialize();\" onUnload=\"SCOFinish();\">\n";
echo "\t <frame name=\"navigation\" src=\"playscorm.php?id=$cm->id&amp;mode=".$mode.'&amp;currentorg='.$currentorg."&amp;frameset=top\">\n";
echo "\t <frame name=\"main\" src=\"\">\n";
echo "</frameset>\n";

0 comments on commit 7f02f53

Please sign in to comment.