mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Synchronize localizations from Transifex
Update package.json dependencies Fix eslint errors webpack 2 -> webpack 3
This commit is contained in:
parent
36dbe0defd
commit
8da988fef2
34 changed files with 888 additions and 757 deletions
|
|
@ -68,20 +68,27 @@ class MessageViewMailBoxUserView extends AbstractViewNext
|
|||
let lastEmail = '';
|
||||
|
||||
const
|
||||
createCommandReplyHelper = (type) => createCommand(() => {
|
||||
this.lastReplyAction(type);
|
||||
this.replyOrforward(type);
|
||||
}, this.canBeRepliedOrForwarded),
|
||||
createCommandReplyHelper = (type) => createCommand(
|
||||
() => {
|
||||
this.lastReplyAction(type);
|
||||
this.replyOrforward(type);
|
||||
},
|
||||
this.canBeRepliedOrForwarded
|
||||
);
|
||||
|
||||
createCommandActionHelper = (folderType, useFolder) => createCommand(() => {
|
||||
const message = this.message();
|
||||
if (message && this.allowMessageListActions)
|
||||
{
|
||||
this.message(null);
|
||||
getApp().deleteMessagesFromFolder(
|
||||
folderType, message.folderFullNameRaw, [message.uid], useFolder);
|
||||
}
|
||||
}, this.messageVisibility);
|
||||
const
|
||||
createCommandActionHelper = (folderType, useFolder) => createCommand(
|
||||
() => {
|
||||
const message = this.message();
|
||||
if (message && this.allowMessageListActions)
|
||||
{
|
||||
this.message(null);
|
||||
getApp().deleteMessagesFromFolder(
|
||||
folderType, message.folderFullNameRaw, [message.uid], useFolder);
|
||||
}
|
||||
},
|
||||
this.messageVisibility
|
||||
);
|
||||
|
||||
this.oDom = null;
|
||||
this.oHeaderDom = null;
|
||||
|
|
@ -431,9 +438,9 @@ class MessageViewMailBoxUserView extends AbstractViewNext
|
|||
|
||||
const
|
||||
fFindDom = function(inputDom) {
|
||||
const children = inputDom ? inputDom.children() : null;
|
||||
return (children && 1 === children.length && children.is('table,div,center')) ? children : null;
|
||||
},
|
||||
const children = inputDom ? inputDom.children() : null;
|
||||
return (children && 1 === children.length && children.is('table,div,center')) ? children : null;
|
||||
},
|
||||
fFindColor = function(inputDom) {
|
||||
let color = '';
|
||||
if (inputDom)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue