mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Use the same layout mechanism used as in the panel using elementary
layout support in different dialogs. Fixes #1358.
This commit is contained in:
@@ -12,17 +12,19 @@ define(
|
||||
if (!alertify.aboutDialog) {
|
||||
alertify.dialog('aboutDialog', function factory() {
|
||||
return {
|
||||
main:function(title, message) {
|
||||
main: function(title, message) {
|
||||
this.set('title', title);
|
||||
this.message = message;
|
||||
},
|
||||
setup:function() {
|
||||
setup: function() {
|
||||
return {
|
||||
buttons:[{ text: "OK", key: 27, className: "btn btn-primary" }],
|
||||
options: { modal: 0, resizable: true }
|
||||
options: {modal: 0, resizable: true}
|
||||
};
|
||||
},
|
||||
build:function() {},
|
||||
build: function() {
|
||||
alertify.pgDialogBuild.apply(this);
|
||||
},
|
||||
prepare:function() {
|
||||
this.setContent(this.message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user