From c6cfad4f0170ff44baedfef449a8e092fa7a1771 Mon Sep 17 00:00:00 2001 From: Harshal Dhumal Date: Thu, 21 Jan 2016 09:10:00 +0000 Subject: [PATCH] Fix minor status bar display issue. --- web/pgadmin/browser/templates/browser/js/node.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/pgadmin/browser/templates/browser/js/node.js b/web/pgadmin/browser/templates/browser/js/node.js index bdda1ac5e..67d483e3b 100644 --- a/web/pgadmin/browser/templates/browser/js/node.js +++ b/web/pgadmin/browser/templates/browser/js/node.js @@ -152,7 +152,7 @@ function($, _, S, pgAdmin, Menu, Backbone, Alertify, pgBrowser, Backform) { var onSessionInvalid = function(msg) { if(!_.isUndefined(that.statusBar)) { - that.statusBar.html(msg); + that.statusBar.html(msg).css("visibility", "visible"); } callback(true); @@ -162,7 +162,7 @@ function($, _, S, pgAdmin, Menu, Backbone, Alertify, pgBrowser, Backform) { var onSessionValidated = function(sessHasChanged) { if(!_.isUndefined(that.statusBar)) { - that.statusBar.empty(); + that.statusBar.empty().css("visibility", "hidden"); } callback(false, sessHasChanged); @@ -579,6 +579,7 @@ function($, _, S, pgAdmin, Menu, Backbone, Alertify, pgBrowser, Backform) { var statusBar = $('
').addClass( 'pg-prop-status-bar' ).appendTo(j); + statusBar.css("visibility", "hidden"); if (location == "header") { statusBar.appendTo(that.header); } else {