Make the Grant Wizard non-modal.

pull/3/head
Surinder Kumar 2016-06-08 16:57:03 +01:00 committed by Dave Page
parent f46227c3df
commit 085f8e198e
1 changed files with 5 additions and 7 deletions

View File

@ -207,17 +207,15 @@ define([
autoReset: false, autoReset: false,
maximizable: false, maximizable: false,
closable: false, closable: false,
closableByDimmer: false closableByDimmer: false,
modal: false,
pinnable: false
} }
}; };
}, },
hooks:{ hooks:{
onshow: function() { 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 // Add pgadmin_grant_wizard_body class to dialog
$(this.elements.body).addClass('pgadmin_grant_wizard_body'); $(this.elements.body).addClass('pgadmin_grant_wizard_body');
} }
@ -1110,8 +1108,8 @@ define([
}); });
} }
// Call Grant Wizard Dialog // Call Grant Wizard Dialog and set dimensions for wizard
alertify.wizardDialog(true); alertify.wizardDialog(true).resizeTo('40%', '60%');
} }
}; };