MCPcopy
hub / github.com/mailvelope/mailvelope / onCancel

Method onCancel

src/controller/pwd.controller.js:68–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66 }
67
68 onCancel() {
69 this.receivedPortMsg = true;
70 this.closePopup();
71 this.passwordRequest.reject(new MvError(l10n.get('pwd_dialog_cancel'), 'PWD_DIALOG_CANCEL'));
72 }
73
74 closePopup() {
75 if (this.pwdPopup) {

Callers 1

unlockMethod · 0.95

Calls 3

closePopupMethod · 0.95
rejectMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected