Add correct parameters to left frame to keep server choice, language, etc. (bug #845397).

This commit is contained in:
Michal Čihař
2003-11-20 14:23:27 +00:00
parent 12775bc276
commit f03bee5560
2 changed files with 3 additions and 1 deletions

View File

@@ -12,6 +12,8 @@ $Source$
* tbl_move_copy.php, tbl_properties_operations.php, lang/*: Cleanup in
table moving/copying and allow to keep constraints over these
operations.
* server_databases.php: Add correct parameters to left frame to keep
server choice, language, etc. (bug #845397).
2003-11-20 Garvin Hicking <me@supergarv.de>
* libraries/auth/*, libraries/dbg/*, libraries/export/*

View File

@@ -21,7 +21,7 @@ require('./server_common.inc.php');
function reload_window(db) {
if (typeof(window.parent) != 'undefined'
&& typeof(window.parent.frames['nav']) != 'undefined') {
window.parent.frames['nav'].location.replace('./left.php?db=' + db + '&hash=' + <?php echo (($cfg['QueryFrame'] && $cfg['QueryFrameJS']) ? 'window.parent.frames[\'queryframe\'].document.hashform.hash.value' : "'" . md5($cfg['PmaAbsoluteUri']) . "'"); ?>);
window.parent.frames['nav'].location.replace('./left.php?<?php echo PMA_generate_common_url('','','&');?>&db=' + db + '&hash=' + <?php echo (($cfg['QueryFrame'] && $cfg['QueryFrameJS']) ? 'window.parent.frames[\'queryframe\'].document.hashform.hash.value' : "'" . md5($cfg['PmaAbsoluteUri']) . "'"); ?>);
}
}
//-->