mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 21:19:21 +03:00
Drop cancelCommand in favor of closeCommand and improve AbstractViewPopup handling
This commit is contained in:
parent
06b5b83588
commit
2edd55f01f
36 changed files with 82 additions and 118 deletions
|
|
@ -100,7 +100,7 @@ export class IdentityPopupView extends AbstractViewPopup {
|
|||
this.submitError(getNotification(iError));
|
||||
} else {
|
||||
rl.app.accountsAndIdentities();
|
||||
this.cancelCommand();
|
||||
this.closeCommand();
|
||||
}
|
||||
}, {
|
||||
Id: this.id,
|
||||
|
|
@ -162,11 +162,11 @@ export class IdentityPopupView extends AbstractViewPopup {
|
|||
}
|
||||
}
|
||||
|
||||
onShowWithDelay() {
|
||||
afterShow() {
|
||||
this.owner() || this.emailFocused(true);
|
||||
}
|
||||
|
||||
onHideWithDelay() {
|
||||
afterHide() {
|
||||
this.clearPopup();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue