mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 21:49:21 +03:00
Rename inbox() to mailbox() because we select any mailbox folder
This commit is contained in:
parent
65e9deda2a
commit
997e0561ad
5 changed files with 11 additions and 21 deletions
|
|
@ -149,7 +149,7 @@ export function themePreviewLink(theme) {
|
|||
* @param {string} inboxFolderName = 'INBOX'
|
||||
* @returns {string}
|
||||
*/
|
||||
export function inbox(inboxFolderName = 'INBOX') {
|
||||
export function mailbox(inboxFolderName = 'INBOX') {
|
||||
return HASH_PREFIX + 'mailbox/' + inboxFolderName;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -359,15 +359,11 @@ export class Selector {
|
|||
if (result) {
|
||||
this.focusedItem(result);
|
||||
|
||||
if (focused) {
|
||||
if (bShiftKey && isArrow) {
|
||||
focused.checked(!focused.checked());
|
||||
} else if (' ' === sEventKey) {
|
||||
focused.checked(!focused.checked());
|
||||
}
|
||||
if (focused && ((bShiftKey && isArrow) || ' ' === sEventKey)) {
|
||||
focused.checked(!focused.checked());
|
||||
}
|
||||
|
||||
if ((this.autoSelect() || !!bForceSelect) && !this.isListChecked() && ' ' !== sEventKey) {
|
||||
if (' ' !== sEventKey && (this.autoSelect() || !!bForceSelect) && !this.isListChecked()) {
|
||||
this.selectedItem(result);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue