bug #1404565, left frame refresh on db drop from Databases link in main page

This commit is contained in:
Marc Delisle
2006-02-09 19:22:06 +00:00
parent dee8d64c1c
commit c0a2064e12
2 changed files with 8 additions and 0 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$
$Source$
2006-02-09 Marc Delisle <lem9@users.sourceforge.net>
* libraries/mult_submit.inc.php: bug #1404565, left frame refresh on
db drop from Databases link in main page
2006-02-08 Marc Delisle <lem9@users.sourceforge.net>
* libraries/Config.class.php: leave the possibility of having a
backslash in the path on non-Windows system, thanks to Michal;

View File

@@ -151,6 +151,7 @@ if ( !empty($submit_mult) && !empty($what)) {
$full_query .= 'DROP DATABASE '
. PMA_backquote(htmlspecialchars(urldecode($sval)))
. ';<br />';
$reload = 1;
break;
case 'drop_tbl':
@@ -236,6 +237,9 @@ if ( !empty($submit_mult) && !empty($what)) {
} else {
echo PMA_generate_common_hidden_inputs();
}
?>
<input type="hidden" name="reload" value="<?php echo isset($reload) ? PMA_sanitize($reload) : 0; ?>" />
<?php
foreach ($selected AS $idx => $sval) {
echo '<input type="hidden" name="selected[]" value="' . htmlspecialchars($sval) . '" />' . "\n";
}