MDL-14457 SCORM module creating extra windows when opening module in a new window.

This commit is contained in:
piers 2008-08-03 21:58:15 +00:00
parent b1897a6d68
commit 1436d5535c

View File

@ -561,7 +561,7 @@ function scorm_view_display ($user, $scorm, $action, $cm, $boxwidth='') {
?>
<div class="scorm-center">
<form id="theform" method="post" action="<?php echo $CFG->wwwroot ?>/mod/scorm/player.php?scoid=<?php echo $sco->id ?>&amp;id=<?php echo $cm->id ?>"<?php echo $scorm->popup == 1?' target="newwin"':'' ?>>
<form id="theform" method="post" action="<?php echo $CFG->wwwroot ?>/mod/scorm/player.php?scoid=<?php echo $sco->id ?>&amp;id=<?php echo $cm->id ?>">
<?php
if ($scorm->hidebrowse == 0) {
print_string('mode','scorm');