Always hide throbber on the completion of the navigation refresh

This commit is contained in:
Rouslan Placella 2012-07-09 18:28:05 +01:00
parent 3eb618977e
commit 46f8092ec6

View File

@ -99,8 +99,8 @@ function PMA_reloadNavigation() {
});
var url = $('#pma_navigation').find('a.navigation_url').attr('href');
$.post(url, params, function (data) {
$throbber.css('visibility', 'hidden');
if (data.success) {
$throbber.css('visibility', 'hidden');
$('#pma_navigation_tree').html(data.message).children('div').show();
} else {
PMA_ajaxShowMessage(data.error);