mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Make the Grant Wizard non-modal.
This commit is contained in:
parent
f46227c3df
commit
085f8e198e
@ -207,17 +207,15 @@ define([
|
||||
autoReset: false,
|
||||
maximizable: false,
|
||||
closable: false,
|
||||
closableByDimmer: false
|
||||
closableByDimmer: false,
|
||||
modal: false,
|
||||
pinnable: false
|
||||
}
|
||||
};
|
||||
},
|
||||
hooks:{
|
||||
onshow: function() {
|
||||
|
||||
// Set dimensions for wizard
|
||||
this.elements.dialog.style.width = '100%';
|
||||
this.elements.dialog.style.height = '68%';
|
||||
|
||||
// Add pgadmin_grant_wizard_body class to dialog
|
||||
$(this.elements.body).addClass('pgadmin_grant_wizard_body');
|
||||
}
|
||||
@ -1110,8 +1108,8 @@ define([
|
||||
});
|
||||
}
|
||||
|
||||
// Call Grant Wizard Dialog
|
||||
alertify.wizardDialog(true);
|
||||
// Call Grant Wizard Dialog and set dimensions for wizard
|
||||
alertify.wizardDialog(true).resizeTo('40%', '60%');
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user