Bug #3598020 Dropping database does not end; it seems interesting to go back to the list of databases after dropping one

This commit is contained in:
Marc Delisle 2012-12-27 17:28:25 -05:00
parent dc0c63ebaa
commit 432eb5b2b4

View File

@ -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);
}