bug #1404565, left frame refresh on db drop from Databases link in main page
This commit is contained in:
@@ -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;
|
||||
|
@@ -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";
|
||||
}
|
||||
|
Reference in New Issue
Block a user