Skip to content

Commit

Permalink
MDL-4346: limiting the 'defer' clause to one call / fix the missing o…
Browse files Browse the repository at this point in the history
…penpopup() bug in IE. (merge from 1.9)
  • Loading branch information
scyrma committed Jul 18, 2008
1 parent e294b80 commit eec1d20
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/javascript.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@
<script type="text/javascript" src="<?php echo $CFG->httpswwwroot ?>/lib/dropdown.js"></script>

<script type="text/javascript" defer="defer">

//<![CDATA[

setTimeout('fix_column_widths()', 20);

//]]>
</script>
<script type="text/javascript">
//<![CDATA[
function openpopup(url,name,options,fullscreen) {
fullurl = "<?php echo $CFG->httpswwwroot ?>" + url;
windowobj = window.open(fullurl,name,options);
Expand Down

0 comments on commit eec1d20

Please sign in to comment.