mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix minor status bar display issue.
This commit is contained in:
committed by
Dave Page
parent
b39943e3ff
commit
c6cfad4f01
@@ -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 = $('<div></div>').addClass(
|
||||
'pg-prop-status-bar'
|
||||
).appendTo(j);
|
||||
statusBar.css("visibility", "hidden");
|
||||
if (location == "header") {
|
||||
statusBar.appendTo(that.header);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user