bug #1189664, js error when 2 queries are submitted at once

This commit is contained in:
Marc Delisle
2005-05-08 12:59:08 +00:00
parent 40bbf9e262
commit a5e99d1dec
2 changed files with 7 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ $Source$
we are checking privileges
* Documentation.html: FAQ 3.13 about the MySQL API having problem dealing
with USE followed with a db name containing an hyphen
* read_dump.php: bug #1189664, js error when 2 queries submitted at once
2005-05-08 Olivier Mueller <om@omnis.ch>
* scripts/upgrade.pl: new script to let unix admins upgrade phpMyadmin

View File

@@ -417,7 +417,12 @@ if (!empty($id_bookmark) && $action_bookmark == 2) {
$message = $strSuccess;
}
// Loads to target script
if ($goto == 'db_details.php' || $goto == 'tbl_properties.php') {
if ($goto == 'db_details.php' || $goto == 'tbl_properties.php' || $goto == 'tbl_properties_structure.php') {
// maybe we should do this instead:
//if (strpos(' ' . $goto, 'db_details') == 1 || strpos(' ' . $goto, 'tbl_properties') == 1) {
// but I'm not sure
$js_to_run = 'functions.js';
}
if ($goto != 'main.php') {