bug #942316 - query window location bar

This commit is contained in:
Garvin Hicking
2004-04-27 08:46:53 +00:00
parent 489d54e455
commit 1a42b4a85a
2 changed files with 3 additions and 1 deletions

View File

@@ -6,6 +6,8 @@ $Id$
$Source$ $Source$
2004-04-27 Garvin Hicking <pma@supergarv.de> 2004-04-27 Garvin Hicking <pma@supergarv.de>
* footer.inc.php: Fixed bug #942316 - Consistent window layout for
query window.
* left.php: Fixed bug #942374 - Undefined indizes in left frame * left.php: Fixed bug #942374 - Undefined indizes in left frame
for light mode. Improved performance. Fixed tab-formatted code and for light mode. Improved performance. Fixed tab-formatted code and
adjusted to coding guidelines. adjusted to coding guidelines.

View File

@@ -88,7 +88,7 @@ if ($cfg['QueryFrame'] && $cfg['QueryFrameJS']) {
return false; return false;
} else if (parent.frames.queryframe) { } else if (parent.frames.queryframe) {
new_win_url = 'querywindow.php?sql_query=' + sql_query + '&<?php echo PMA_generate_common_url(isset($db) ? addslashes($db) : '', isset($table) ? addslashes($table) : '', '&'); ?>'; new_win_url = 'querywindow.php?sql_query=' + sql_query + '&<?php echo PMA_generate_common_url(isset($db) ? addslashes($db) : '', isset($table) ? addslashes($table) : '', '&'); ?>';
parent.frames.queryframe.querywindow=window.open(new_win_url, '','toolbar=0,location=1,directories=0,status=1,menubar=0,scrollbars=yes,resizable=yes,width=<?php echo $cfg['QueryWindowWidth']; ?>,height=<?php echo $cfg['QueryWindowHeight']; ?>'); parent.frames.queryframe.querywindow=window.open(new_win_url, '','toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=yes,resizable=yes,width=<?php echo $cfg['QueryWindowWidth']; ?>,height=<?php echo $cfg['QueryWindowHeight']; ?>');
if (!parent.frames.queryframe.querywindow.opener) { if (!parent.frames.queryframe.querywindow.opener) {
parent.frames.queryframe.querywindow.opener = parent.frames.queryframe; parent.frames.queryframe.querywindow.opener = parent.frames.queryframe;