Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRouslan Placella <rouslan@placella.com>2012-06-15 22:46:43 +0400
committerRouslan Placella <rouslan@placella.com>2012-06-15 23:37:41 +0400
commitaac6a9e5bd652d9eb27077490b2d47c932efa3d4 (patch)
tree152ac96b8bccf65f50508ba88b71a3517b77ee94 /server_databases.php
parent0954bfbd46c90bcc7de3ed578671d29204c4806e (diff)
Don't refresh the whole list when dropping databases in server_databases.php
(Avoids pointless AJAX request)
Diffstat (limited to 'server_databases.php')
-rw-r--r--server_databases.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/server_databases.php b/server_databases.php
index a15e2cd178..5c30955b65 100644
--- a/server_databases.php
+++ b/server_databases.php
@@ -246,7 +246,7 @@ if ($databases_count > 0) {
} // end foreach ($databases as $key => $current)
unset($current, $odd_row);
- echo '<tr id="db_summary_row">' . "\n";
+ echo '</tbody><tfoot><tr id="db_summary_row">' . "\n";
if ($is_superuser || $cfg['AllowUserDropDatabase']) {
echo ' <th></th>' . "\n";
}
@@ -285,7 +285,7 @@ if ($databases_count > 0) {
echo ' <th></th>' . "\n";
}
echo '</tr>' . "\n";
- echo '</tbody>' . "\n"
+ echo '</tfoot>' . "\n"
.'</table>' . "\n";
unset($column_order, $stat_name, $stat, $databases, $table_columns);