code cleanup whole querywindow js stuff, moved all in one new js file, now included in index.php, bug #1327055

This commit is contained in:
Sebastian Mendel
2005-10-17 16:40:32 +00:00
parent 3b2485e4f5
commit cf9e4208d1
10 changed files with 243 additions and 204 deletions

View File

@@ -111,11 +111,11 @@ function PMA_sqlQueryForm( $query = true, $display_tab = false ) {
<form method="post" id="sqlqueryform"
target="phpmain<?php echo md5( $GLOBALS['cfg']['PmaAbsoluteUri'] ); ?>"
action="import.php"<?php echo $enctype; ?> name="sqlform"
onsubmit="this.target=window.opener.parent.frames[1].name;
return checkSqlQuery(this);" >
onsubmit="this.target=window.opener.frames[1].name;
return checkSqlQuery( this );" >
<?php
} else {
echo '<form method="post" action="import.php" ' . $enctype
echo '<form method="post" action="import.php" ' . $enctype . ' id="sqlqueryform"'
.' onsubmit="return checkSqlQuery(this)" name="sqlform">' . "\n";
}