allow sending of post notifications with either old or new ALC blocks
This commit is contained in:
@@ -275,7 +275,8 @@ define([
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ((App.getNewsletter().get('type') === 'notification') &&
|
if ((App.getNewsletter().get('type') === 'notification') &&
|
||||||
contents.indexOf('"type":"automatedLatestContent"') < 0
|
contents.indexOf('"type":"automatedLatestContent"') < 0 &&
|
||||||
|
contents.indexOf('"type":"automatedLatestContentLayout"') < 0
|
||||||
) {
|
) {
|
||||||
this.showValidationError(MailPoet.I18n.t('automatedLatestContentMissing'));
|
this.showValidationError(MailPoet.I18n.t('automatedLatestContentMissing'));
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user