Add a method to bulk update ALC blocks in newsletter editor

This commit is contained in:
Tautvidas Sipavičius
2016-05-31 13:53:45 +03:00
parent c6b13c5175
commit 5d48ecac80
9 changed files with 1478 additions and 451 deletions

View File

@ -62,6 +62,13 @@ define([
});
};
Module.getBulkTransformedPosts = function(options) {
return Module._query({
action: 'getBulkTransformedPosts',
options: options,
});
};
Module.saveNewsletter = function(options) {
return MailPoet.Ajax.post({
endpoint: 'newsletters',