Make the Grant Wizard non-modal.
parent
f46227c3df
commit
085f8e198e
|
@ -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%');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue