mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 14:07:04 +03:00
Added "copy to" action in menu's for #1559
This commit is contained in:
parent
0aa48a8dd4
commit
53a6f04f18
44 changed files with 77 additions and 14 deletions
|
|
@ -77,13 +77,14 @@ export class MailFolderList extends AbstractViewLeft {
|
|||
const folder = ko.dataFor(el);
|
||||
if (folder) {
|
||||
if (moveAction()) {
|
||||
moveAction(false);
|
||||
let messages = MessagelistUserStore.listCheckedOrSelectedUidsWithSubMails();
|
||||
const copy = event.ctrlKey || 2 === moveAction(),
|
||||
messages = MessagelistUserStore.listCheckedOrSelectedUidsWithSubMails();
|
||||
moveAction(0);
|
||||
messages.size && MessagelistUserStore.moveMessages(
|
||||
messages.folder,
|
||||
messages,
|
||||
folder.fullName,
|
||||
event.ctrlKey
|
||||
copy
|
||||
);
|
||||
} else {
|
||||
if (!SettingsUserStore.usePreviewPane()) {
|
||||
|
|
@ -160,7 +161,7 @@ export class MailFolderList extends AbstractViewLeft {
|
|||
// addShortcut('tab', 'shift', ScopeFolderList, () => {
|
||||
addShortcut('escape,tab,arrowright', '', ScopeFolderList, () => {
|
||||
AppUserStore.focusedState(ScopeMessageList);
|
||||
moveAction(false);
|
||||
moveAction(0);
|
||||
return false;
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue