mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
1. Updated notification message for the reset layout.
2. Added notification type in alertify which was missing. refs #6988
This commit is contained in:
parent
19984d6563
commit
3a30f27153
@ -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);
|
||||
}
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user