Add correct parameters to left frame to keep server choice, language, etc. (bug #845397).
This commit is contained in:
@@ -12,6 +12,8 @@ $Source$
|
|||||||
* tbl_move_copy.php, tbl_properties_operations.php, lang/*: Cleanup in
|
* tbl_move_copy.php, tbl_properties_operations.php, lang/*: Cleanup in
|
||||||
table moving/copying and allow to keep constraints over these
|
table moving/copying and allow to keep constraints over these
|
||||||
operations.
|
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>
|
2003-11-20 Garvin Hicking <me@supergarv.de>
|
||||||
* libraries/auth/*, libraries/dbg/*, libraries/export/*
|
* libraries/auth/*, libraries/dbg/*, libraries/export/*
|
||||||
|
@@ -21,7 +21,7 @@ require('./server_common.inc.php');
|
|||||||
function reload_window(db) {
|
function reload_window(db) {
|
||||||
if (typeof(window.parent) != 'undefined'
|
if (typeof(window.parent) != 'undefined'
|
||||||
&& typeof(window.parent.frames['nav']) != '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']) . "'"); ?>);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//-->
|
//-->
|
||||||
|
Reference in New Issue
Block a user