Permalink
Browse files

fixed a problem with Explorer and popup windows

  • Loading branch information...
1 parent d51d658 commit 10d7f1525da65fe8285d2c96cdf4c73537af2da4 bobopinna committed Aug 4, 2006
Showing with 1 addition and 2 deletions.
  1. +1 −2 mod/scorm/player.php
View
3 mod/scorm/player.php
@@ -232,7 +232,6 @@ class="scoframe"
<script lanuguage="javascript">
function openpopup(url,name,options,width,height) {
fullurl = "<?php echo $CFG->wwwroot.'/mod/scorm/' ?>" + url;
- alert(fullurl+"\n"+name+"\n"+options);
windowobj = window.open(fullurl,name,options);
if ((width==100) && (height==100)) {
// Fullscreen
@@ -252,7 +251,7 @@ function openpopup(url,name,options,width,height) {
url = "loadSCO.php?id=<?php echo $cm->id.$scoidpop ?>";
width = <?php p($scorm->width) ?>;
height = <?php p($scorm->height) ?>;
- var main = openpopup(url, "popupwindow", "<?php p($scorm->options) ?>", width, height);
+ var main = openpopup(url, "scormpopup", "<?php p($scorm->options) ?>", width, height);
</script>
<noscript>
<iframe id="main"

0 comments on commit 10d7f15

Please sign in to comment.