diff --git a/web/pgadmin/dashboard/templates/dashboard/js/dashboard.js b/web/pgadmin/dashboard/templates/dashboard/js/dashboard.js index ec4cb14fe..8159053ff 100644 --- a/web/pgadmin/dashboard/templates/dashboard/js/dashboard.js +++ b/web/pgadmin/dashboard/templates/dashboard/js/dashboard.js @@ -328,15 +328,16 @@ function(r, $, pgAdmin, _, Backbone) { cls = 'danger'; } - // Stash the old content, and replace with the error, if not already present + // Replace the content with the error, if not already present. Always update the message if (!$(container).hasClass('grid-error')) { $(filter.el).hide(); $(container).addClass('grid-error'); - $(container).html( - '' - ); } + $(container).html( + '' + ); + // Try again setTimeout(function() { pgAdmin.Dashboard.render_grid_data(container, data);