Fix create new form link in WP widgets settings [MAILPOET-1452]
This commit is contained in:
@ -221,7 +221,8 @@ EOL;
|
||||
function createSubscriptionForm() {
|
||||
MailPoet.Ajax.post({
|
||||
endpoint: 'forms',
|
||||
action: 'create'
|
||||
action: 'create',
|
||||
api_version: window.mailpoet_api_version
|
||||
}).done(function(response) {
|
||||
if(response.data && response.data.id) {
|
||||
window.location =
|
||||
|
Reference in New Issue
Block a user