Use PMA_includeJS from top level page.

This prevents loading files twice, each time with different URL.
This commit is contained in:
Michal Čihař
2011-02-08 09:27:02 +01:00
parent fca6631236
commit 394c6734d0

View File

@@ -152,9 +152,11 @@ header('Content-Type: text/html; charset=' . $GLOBALS['charset']);
};
// ]]>
</script>
<script src="./js/jquery/jquery-1.4.4.js" type="text/javascript"></script>
<script src="./js/update-location.js" type="text/javascript"></script>
<script src="./js/common.js" type="text/javascript"></script>
<?php
echo PMA_includeJS('jquery/jquery-1.4.4.js');
echo PMA_includeJS('update-location.js');
echo PMA_includeJS('common.js');
?>
</head>
<frameset cols="<?php
if ($GLOBALS['text_dir'] === 'rtl') {