mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-14457 SCORM module creating extra windows when opening module in a new window.
This commit is contained in:
parent
b1897a6d68
commit
1436d5535c
@ -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 ?>&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 ?>&id=<?php echo $cm->id ?>">
|
||||
<?php
|
||||
if ($scorm->hidebrowse == 0) {
|
||||
print_string('mode','scorm');
|
||||
|
Loading…
x
Reference in New Issue
Block a user