From 432eb5b2b4eb0147413594f01f3b3d38d2b5b942 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Thu, 27 Dec 2012 17:28:25 -0500 Subject: [PATCH] Bug #3598020 Dropping database does not end; it seems interesting to go back to the list of databases after dropping one --- js/functions.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/js/functions.js b/js/functions.js index 5338a66266..3059de37c4 100644 --- a/js/functions.js +++ b/js/functions.js @@ -2239,9 +2239,12 @@ AJAX.registerOnload('functions.js', function() { //Database deleted successfully, refresh both the frames PMA_reloadNavigation(); PMA_commonParams.set('db', ''); - PMA_commonActions.refreshMain('index.php', function () { - PMA_ajaxShowMessage(data.message); - }); + PMA_commonActions.refreshMain( + 'server_databases.php', + function () { + PMA_ajaxShowMessage(data.message); + } + ); } else { PMA_ajaxShowMessage(data.error, false); }