mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix validation message styling on thegrant wizard. Fixes #2673
This commit is contained in:
@@ -278,7 +278,8 @@ define([
|
||||
status bar element and next button is disabled
|
||||
*/
|
||||
onSessionInvalid: function(msg) {
|
||||
$('.error_msg_div p').html(msg).removeClass("hide");
|
||||
$('.pg-prop-status-bar .alert-text').html(msg);
|
||||
$('.pg-prop-status-bar').css("visibility", "visible");
|
||||
|
||||
// Enable disable Next button
|
||||
this.updateButtons(false);
|
||||
@@ -291,7 +292,8 @@ define([
|
||||
status bar element and next button is disabled
|
||||
*/
|
||||
onSessionValidated: function(sessHasChanged) {
|
||||
$('.error_msg_div p').empty().addClass("hide");
|
||||
$('.pg-prop-status-bar .alert-text').empty();
|
||||
$('.pg-prop-status-bar').css("visibility", "hidden");
|
||||
|
||||
// Enable disable Next button
|
||||
this.updateButtons(sessHasChanged);
|
||||
|
||||
Reference in New Issue
Block a user