cleanup dragmessages code

This commit is contained in:
the-djmaze 2022-09-28 14:55:10 +02:00
parent afe4da1f65
commit c2ef5abd79
3 changed files with 17 additions and 24 deletions

View file

@ -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(),