mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 21:49:21 +03:00
replaced knockout hasfocus with autofocus=""
This commit is contained in:
parent
650e962fdf
commit
b4ab5b891a
12 changed files with 18 additions and 50 deletions
|
|
@ -12,8 +12,6 @@ class AdvancedSearchPopupView extends AbstractViewPopup {
|
|||
super('AdvancedSearch');
|
||||
|
||||
this.addObservables({
|
||||
fromFocus: false,
|
||||
|
||||
from: '',
|
||||
to: '',
|
||||
subject: '',
|
||||
|
|
@ -142,18 +140,12 @@ class AdvancedSearchPopupView extends AbstractViewPopup {
|
|||
this.hasAttachment(false);
|
||||
this.starred(false);
|
||||
this.unseen(false);
|
||||
|
||||
this.fromFocus(true);
|
||||
}
|
||||
|
||||
onShow(search) {
|
||||
this.clearPopup();
|
||||
this.parseSearchStringValue(search);
|
||||
}
|
||||
|
||||
onShowWithDelay() {
|
||||
this.fromFocus(true);
|
||||
}
|
||||
}
|
||||
|
||||
export { AdvancedSearchPopupView, AdvancedSearchPopupView as default };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue