syncronize id and name attribute for frame tags but keep IE sending querywindow form to the correct window (bug #1374757, #1364470, #1297985)
This commit is contained in:
@@ -101,10 +101,11 @@ function PMA_sqlQueryForm( $query = true, $display_tab = false ) {
|
||||
// start output
|
||||
if ( $is_querywindow ) {
|
||||
?>
|
||||
<form method="post" id="sqlqueryform"
|
||||
target="phpmain<?php echo md5( $GLOBALS['cfg']['PmaAbsoluteUri'] ); ?>"
|
||||
<form method="post" id="sqlqueryform" target="frame_content"
|
||||
action="import.php"<?php echo $enctype; ?> name="sqlform"
|
||||
onsubmit="this.target=window.opener.frames[1].name;
|
||||
onsubmit="save_name = window.opener.parent.frames[1].name;
|
||||
window.opener.parent.frames[1].name = save_name + '<?php echo time(); ?>';
|
||||
this.target = window.opener.parent.frames[1].name;
|
||||
return checkSqlQuery( this );" >
|
||||
<?php
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user