mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 13:39:22 +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
|
|
@ -20,7 +20,8 @@ import { isArray } from 'Common/Utils';
|
|||
|
||||
export const
|
||||
|
||||
moveAction = ko.observable(false),
|
||||
// 1 = move, 2 = copy
|
||||
moveAction = ko.observable(0),
|
||||
|
||||
dropdownsDetectVisibility = (() =>
|
||||
dropdownVisibility(!!dropdowns.find(item => item.classList.contains('show')))
|
||||
|
|
@ -359,5 +360,5 @@ populateMessageBody = (oMessage, popup) => {
|
|||
}
|
||||
};
|
||||
|
||||
leftPanelDisabled.subscribe(value => value && moveAction(false));
|
||||
leftPanelDisabled.subscribe(value => value && moveAction(0));
|
||||
moveAction.subscribe(value => value && leftPanelDisabled(false));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue