mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 14:37:02 +03:00
Drop the ko.bindingHandlers.modal as click.koModal is never used
And replace hideScreenPopup() with this.closeCommand();
This commit is contained in:
parent
2e34f98c80
commit
880d4a05e9
30 changed files with 66 additions and 69 deletions
|
|
@ -13,8 +13,6 @@ class AbstractView {
|
|||
this.viewType = type;
|
||||
this.viewModelDom = null;
|
||||
|
||||
this.modalVisibility = ko.observable(false).extend({ rateLimit: 0 });
|
||||
|
||||
this.keyScope = {
|
||||
scope: Scope.None,
|
||||
previous: Scope.None,
|
||||
|
|
@ -62,6 +60,7 @@ export class AbstractViewPopup extends AbstractView
|
|||
this.keyScope.scope = Scope[name];
|
||||
}
|
||||
this.bDisabeCloseOnEsc = false;
|
||||
this.modalVisibility = ko.observable(false).extend({ rateLimit: 0 });
|
||||
}
|
||||
/*
|
||||
onShowWithDelay() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue