[MAILPOET-1263] Force user to create ALC block for post notification
This commit is contained in:
@@ -305,6 +305,13 @@ define([
|
||||
return;
|
||||
}
|
||||
|
||||
if ((App.getNewsletter().get('type') === 'notification') &&
|
||||
contents.indexOf('automatedLatestContent') < 0
|
||||
) {
|
||||
this.showValidationError(MailPoet.I18n.t('automatedLatestContentMissing'));
|
||||
return;
|
||||
}
|
||||
|
||||
this.hideValidationError();
|
||||
},
|
||||
showValidationError: function (message) {
|
||||
|
Reference in New Issue
Block a user