mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Renamed closeCommand() to close() because it has no command feature anymore
This commit is contained in:
parent
7f29f362f5
commit
fe0f6af9f4
38 changed files with 59 additions and 57 deletions
|
|
@ -62,7 +62,7 @@ export class AbstractViewPopup extends AbstractView
|
|||
this.modalVisible = ko.observable(false).extend({ rateLimit: 0 });
|
||||
shortcuts.add('escape,close', '', name, () => {
|
||||
if (this.modalVisible() && false !== this.onClose()) {
|
||||
this.closeCommand();
|
||||
this.close();
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
|
@ -80,7 +80,7 @@ export class AbstractViewPopup extends AbstractView
|
|||
onHide() {} // Happens before animation transitionend
|
||||
afterHide() {} // Happens after animation transitionend
|
||||
|
||||
closeCommand() {}
|
||||
close() {}
|
||||
*/
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue