Assumption: The model dialog is opened using SP.UI.ModalDialog.showModalDialog().
Add the following line of code under script tag.
window.onunload=function()
{
SP.UI.ModalDialog.commonModalDialogClose(SP.UI.DialogResult.OK, 'SP.UI.DialogResult.OK');
};
Add the following line of code under script tag.
window.onunload=function()
{
SP.UI.ModalDialog.commonModalDialogClose(SP.UI.DialogResult.OK, 'SP.UI.DialogResult.OK');
};
No comments:
Post a Comment