mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
v2.17.4
This commit is contained in:
parent
1a130d0be3
commit
8d192445a7
9 changed files with 38 additions and 42 deletions
|
|
@ -613,19 +613,20 @@ export class MailMessageList extends AbstractViewRight {
|
|||
AppUserStore.focusedState(Scope.MessageList);
|
||||
}
|
||||
|
||||
let el = eqs(event, '.e-paginator a');
|
||||
el && this.gotoPage(ko.dataFor(el));
|
||||
let data = ko.dataFor(el),
|
||||
el = eqs(event, '.e-paginator a');
|
||||
el && this.gotoPage(data);
|
||||
|
||||
eqs(event, '.checkboxCheckAll') && this.checkAll(!this.checkAll());
|
||||
|
||||
el = eqs(event, '.flagParent');
|
||||
el && this.flagMessages(ko.dataFor(el));
|
||||
el && this.flagMessages(data);
|
||||
|
||||
el = eqs(event, '.threads-len');
|
||||
el && this.gotoThread(ko.dataFor(el));
|
||||
el && this.gotoThread(data);
|
||||
},
|
||||
dblclick: event => {
|
||||
let el = eqs(event, '.actionHandle');
|
||||
let el = eqs(event, '.actionHandle');
|
||||
el && this.gotoThread(ko.dataFor(el));
|
||||
}
|
||||
});
|
||||
|
|
@ -717,15 +718,10 @@ export class MailMessageList extends AbstractViewRight {
|
|||
});
|
||||
|
||||
registerShortcut('t', '', [Scope.MessageList], () => {
|
||||
let message = MessagelistUserStore.selectedMessage();
|
||||
if (!message) {
|
||||
message = MessagelistUserStore.focusedMessage();
|
||||
}
|
||||
|
||||
let message = MessagelistUserStore.selectedMessage() || MessagelistUserStore.focusedMessage();
|
||||
if (message && 0 < message.threadsLen()) {
|
||||
this.gotoThread(message);
|
||||
}
|
||||
|
||||
return false;
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue