bug #942316 - query window location bar
This commit is contained in:
@@ -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.
|
||||||
|
@@ -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;
|
||||||
|
Reference in New Issue
Block a user