mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
MDL-4346: limiting the 'defer' clause to one call / fix the missing openpopup() bug in IE. (merge from 1.9)
This commit is contained in:
parent
e294b80ad0
commit
eec1d200b5
1 changed files with 4 additions and 3 deletions
|
@ -28,11 +28,12 @@
|
||||||
<script type="text/javascript" src="<?php echo $CFG->httpswwwroot ?>/lib/dropdown.js"></script>
|
<script type="text/javascript" src="<?php echo $CFG->httpswwwroot ?>/lib/dropdown.js"></script>
|
||||||
|
|
||||||
<script type="text/javascript" defer="defer">
|
<script type="text/javascript" defer="defer">
|
||||||
|
|
||||||
//<![CDATA[
|
//<![CDATA[
|
||||||
|
|
||||||
setTimeout('fix_column_widths()', 20);
|
setTimeout('fix_column_widths()', 20);
|
||||||
|
//]]>
|
||||||
|
</script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
//<![CDATA[
|
||||||
function openpopup(url,name,options,fullscreen) {
|
function openpopup(url,name,options,fullscreen) {
|
||||||
fullurl = "<?php echo $CFG->httpswwwroot ?>" + url;
|
fullurl = "<?php echo $CFG->httpswwwroot ?>" + url;
|
||||||
windowobj = window.open(fullurl,name,options);
|
windowobj = window.open(fullurl,name,options);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue