diff --git a/web/pgadmin/tools/grant_wizard/templates/grant_wizard/js/grant_wizard.js b/web/pgadmin/tools/grant_wizard/templates/grant_wizard/js/grant_wizard.js index 0213868cd..29a5c387f 100644 --- a/web/pgadmin/tools/grant_wizard/templates/grant_wizard/js/grant_wizard.js +++ b/web/pgadmin/tools/grant_wizard/templates/grant_wizard/js/grant_wizard.js @@ -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%'); } };