mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 11:39:21 +03:00
cleanup dragmessages code
This commit is contained in:
parent
afe4da1f65
commit
c2ef5abd79
3 changed files with 17 additions and 24 deletions
|
|
@ -4,7 +4,7 @@ import { Scope } from 'Common/Enums';
|
|||
|
||||
import { ComposeType, FolderType, MessageSetAction } from 'Common/EnumsUser';
|
||||
|
||||
import { doc, leftPanelDisabled, moveAction,
|
||||
import { leftPanelDisabled, moveAction,
|
||||
Settings, SettingsCapa, SettingsGet,
|
||||
addEventsListeners,
|
||||
addShortcut, registerShortcut, formFieldFocused
|
||||
|
|
@ -380,14 +380,6 @@ export class MailMessageList extends AbstractViewRight {
|
|||
return false;
|
||||
}
|
||||
|
||||
getDragData(event) {
|
||||
const item = ko.dataFor(doc.elementFromPoint(event.clientX, event.clientY));
|
||||
item?.checked?.(true);
|
||||
const uids = MessagelistUserStore.listCheckedOrSelectedUidsWithSubMails();
|
||||
uids.folder = FolderUserStore.currentFolderFullName();
|
||||
return uids;
|
||||
}
|
||||
|
||||
listSetSeen() {
|
||||
listAction(
|
||||
FolderUserStore.currentFolderFullName(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue