mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 22:17:03 +03:00
Remove useless clearPopup() functions
This commit is contained in:
parent
ba895ba887
commit
2a7348081a
9 changed files with 20 additions and 82 deletions
|
|
@ -114,7 +114,7 @@ class AdvancedSearchPopupView extends AbstractViewPopup {
|
|||
return result.replace(/^&+/, '');
|
||||
}
|
||||
|
||||
clearPopup() {
|
||||
onShow(search) {
|
||||
this.from('');
|
||||
this.to('');
|
||||
this.subject('');
|
||||
|
|
@ -124,10 +124,7 @@ class AdvancedSearchPopupView extends AbstractViewPopup {
|
|||
this.hasAttachment(false);
|
||||
this.starred(false);
|
||||
this.unseen(false);
|
||||
}
|
||||
|
||||
onShow(search) {
|
||||
this.clearPopup();
|
||||
this.parseSearchStringValue(search);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue