1. Updated notification message for the reset layout.

2. Added notification type in alertify which was missing.

refs #6988
This commit is contained in:
Nikhil Mohite 2021-11-24 10:58:15 +05:30 committed by Akshay Joshi
parent 19984d6563
commit 3a30f27153
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ _.extend(pgBrowser, {
if(_panel.length == 0 && defaultLayoutCallback){
// clear the wcDocker before reset layout.
docker.clear();
Alertify.info(gettext('pgAdmin has detected some issues with the UI layout, so reset it to the default.'), 0);
Alertify.info(gettext('pgAdmin has reset the layout because the previously saved layout is invalid.'), 0);
if(defaultLayoutCallback){
defaultLayoutCallback(docker);
}

View File

@ -466,7 +466,7 @@ define([
</div>
<div class="alert-text-body" role="status">${message}</div>
</div>`;
var alert = alertify.notify(alertMessage, timeout);
var alert = alertify.notify(alertMessage, 'custom', timeout);
return alert;
},
warning: function(message, timeout) {