From 0cf5a3cb56fffbc5454d058d189506a599889e08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 19 Oct 2004 16:19:24 +0000 Subject: [PATCH] Fix left frame reloading after dropping table (bug #1034531). --- ChangeLog | 2 ++ db_details_structure.php | 9 +-------- libraries/common.lib.php | 2 +- tbl_move_copy.php | 2 +- 4 files changed, 5 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index 73fe16848..49d782be1 100755 --- a/ChangeLog +++ b/ChangeLog @@ -20,6 +20,8 @@ $Source$ * lang/czech: Reordered some words. * libraries/select_server.lib.php: Clickable active server in left frame (RFE # 1044678). + * db_details_structure.php, tbl_move_copy.php, libraries/common.lib.php: + Fix left frame reloading after dropping table (bug #1034531). 2004-10-17 Marc Delisle * lang/turkish update, thanks to boralioglu. diff --git a/db_details_structure.php b/db_details_structure.php index d2c762393..4e4f5b8fc 100644 --- a/db_details_structure.php +++ b/db_details_structure.php @@ -86,6 +86,7 @@ if (empty($is_info)) { $action = 'db_details_structure.php'; $err_url = 'db_details_structure.php?'. PMA_generate_common_url($db); require('./mult_submits.inc.php'); + $message = $strSuccess; } require('./db_details_common.php'); $url_query .= '&goto=db_details_structure.php'; @@ -94,14 +95,6 @@ if (empty($is_info)) { $sub_part = '_structure'; require('./db_details_db_info.php'); echo "\n"; - - /** - * Show result of multi submit operation - */ - if ((!empty($submit_mult) && isset($selected_tbl)) - || isset($mult_btn)) { - PMA_showMessage($strSuccess); - } } if (PMA_MYSQL_INT_VERSION >= 40101) { diff --git a/libraries/common.lib.php b/libraries/common.lib.php index fbd024849..29c183fce 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -1484,7 +1484,7 @@ if ($is_minimum_common == FALSE) { // Reloads the navigation frame via JavaScript if required if (isset($GLOBALS['reload']) && $GLOBALS['reload']) { echo "\n"; - $reload_url = './left.php?' . PMA_generate_common_url((isset($GLOBALS['db']) ? $GLOBALS['db'] : ''), '', '&') + $reload_url = './left.php?' . PMA_generate_common_url((isset($GLOBALS['db']) ? $GLOBALS['db'] : ''), '', '&'); ?>