Use PMA_includeJS from top level page.
This prevents loading files twice, each time with different URL.
This commit is contained in:
@@ -152,9 +152,11 @@ header('Content-Type: text/html; charset=' . $GLOBALS['charset']);
|
|||||||
};
|
};
|
||||||
// ]]>
|
// ]]>
|
||||||
</script>
|
</script>
|
||||||
<script src="./js/jquery/jquery-1.4.4.js" type="text/javascript"></script>
|
<?php
|
||||||
<script src="./js/update-location.js" type="text/javascript"></script>
|
echo PMA_includeJS('jquery/jquery-1.4.4.js');
|
||||||
<script src="./js/common.js" type="text/javascript"></script>
|
echo PMA_includeJS('update-location.js');
|
||||||
|
echo PMA_includeJS('common.js');
|
||||||
|
?>
|
||||||
</head>
|
</head>
|
||||||
<frameset cols="<?php
|
<frameset cols="<?php
|
||||||
if ($GLOBALS['text_dir'] === 'rtl') {
|
if ($GLOBALS['text_dir'] === 'rtl') {
|
||||||
|
Reference in New Issue
Block a user