mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
MDL-16299 - Javascript error during scorm player load. SCOID should not be populated - TOC figures this out.
This commit is contained in:
parent
7e55d513a1
commit
4675994ab2
1 changed files with 2 additions and 2 deletions
|
@ -606,7 +606,7 @@ function scorm_view_display ($user, $scorm, $action, $cm, $boxwidth='') {
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<div class="scorm-center">
|
<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 ?>&currentorg=<?php echo $orgidentifier ?>">
|
<form id="theform" method="post" action="<?php echo $CFG->wwwroot ?>/mod/scorm/player.php">
|
||||||
<?php
|
<?php
|
||||||
if ($scorm->hidebrowse == 0) {
|
if ($scorm->hidebrowse == 0) {
|
||||||
print_string('mode','scorm');
|
print_string('mode','scorm');
|
||||||
|
@ -624,8 +624,8 @@ function scorm_view_display ($user, $scorm, $action, $cm, $boxwidth='') {
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<br />
|
<br />
|
||||||
|
<input type="hidden" name="scoid"/>
|
||||||
<input type="hidden" name="id" value="<?php echo $cm->id ?>"/>
|
<input type="hidden" name="id" value="<?php echo $cm->id ?>"/>
|
||||||
<input type="hidden" name="scoid" value="<?php echo $sco->id ?>"/>
|
|
||||||
<input type="hidden" name="currentorg" value="<?php echo $orgidentifier ?>" />
|
<input type="hidden" name="currentorg" value="<?php echo $orgidentifier ?>" />
|
||||||
<input type="submit" value="<?php print_string('enter','scorm') ?>" />
|
<input type="submit" value="<?php print_string('enter','scorm') ?>" />
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue