Fix and improved hasher routing

This commit is contained in:
the-djmaze 2022-03-03 16:28:05 +01:00
parent 06e2dc722d
commit fafe56ecb4
16 changed files with 41 additions and 83 deletions

View file

@ -766,8 +766,6 @@ export class ComposePopupView extends AbstractViewPopup {
this.to.focused(false);
rl.route.on();
(getFullscreenElement() === this.oContent) && exitFullscreen();
}
@ -830,8 +828,6 @@ export class ComposePopupView extends AbstractViewPopup {
* @param {string=} sCustomPlainText = null
*/
onShow(type, oMessageOrArray, aToEmails, aCcEmails, aBccEmails, sCustomSubject, sCustomPlainText) {
rl.route.off();
this.autosaveStart();
this.viewModelDom.dataset.wysiwyg = SettingsUserStore.editorDefaultType();

View file

@ -494,14 +494,10 @@ export class ContactsPopupView extends AbstractViewPopup {
onShow(bBackToCompose, sLastComposeFocusedField) {
this.bBackToCompose = !!bBackToCompose;
this.sLastComposeFocusedField = sLastComposeFocusedField;
rl.route.off();
this.reloadContactList(true);
}
onHide() {
rl.route.on();
this.currentContact(null);
this.emptySelection(true);
this.search('');