MDL-14457 SCORM module creating extra windows when opening module in a new window.
authorpiers <piers>
Sun, 3 Aug 2008 21:58:15 +0000 (21:58 +0000)
committerpiers <piers>
Sun, 3 Aug 2008 21:58:15 +0000 (21:58 +0000)
mod/scorm/locallib.php

index 86451f2..6aba694 100755 (executable)
@@ -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');