You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 13, 2024. It is now read-only.
I am using microsoft VSTS modal dialog and I want a confirmation message when modal dialog is closed from 'x' (closed button of modal dialog), I get close event which fired after event dialog is closed.
I want an event before closing the dialog. How can I do that?
here is the code:
VSS.getService(VSS.ServiceIds.Dialog).then(function(dialogService)
{
var contributionId = //id
var dialogOptions = { title: "ABC", close: onDialogCloseByCrossButtonClick };
dialogService.openDialog(contributionId, dialogOptions).then(
function (dialog) {
// do something
});
}