Fixed some bugs in subscription process

Added timezone selector to campaign scheduling
Fixed problems with pausing campaign.
This commit is contained in:
Tomas Bures 2019-07-10 02:06:56 +04:00
parent 4113cb8476
commit e3a5a3c4eb
23 changed files with 218 additions and 99 deletions

View file

@ -71,7 +71,7 @@ async function _sendMail(list, email, template, locale, subjectKey, relativeUrls
email
};
const flds = await fields.list(contextHelpers.getAdminContext(), list.id);
const flds = await fields.listGrouped(contextHelpers.getAdminContext(), list.id);
const encryptionKeys = [];
for (const fld of flds) {

View file

@ -124,7 +124,7 @@ async function validateEmail(address) {
function validateEmailGetMessage(result, address, language) {
let t;
if (language) {
if (language !== undefined) {
t = (key, args) => tUI(key, language, args);
} else {
t = (key, args) => tLog(key, args);