Merge branch 'MDL-47882_scorm_loadsco_invalid_html' of git://github.com/MorrisR2/moodle

This commit is contained in:
Marina Glancy 2014-10-27 11:52:18 +08:00
commit a8668e161a

View File

@ -229,7 +229,7 @@ echo html_writer::tag('title', 'LoadSCO');
document.body.innerHTML = "<p><?php echo get_string('activityloading', 'scorm');?>" +
"<span id='countdown'><?php echo $delayseconds ?></span> " +
"<?php echo get_string('numseconds', 'moodle', '');?>. &nbsp; " +
"<img src='<?php echo $OUTPUT->pix_url('wait', 'scorm') ?>'><p>";
"<img src='<?php echo $OUTPUT->pix_url('wait', 'scorm') ?>'></p>";
var e = document.getElementById("countdown");
var cSeconds = parseInt(e.innerHTML);
var timer = setInterval(function() {