Do not wait for template to confirm being saved on send page
[MAILPOET-1797]
This commit is contained in:
committed by
M. Shull
parent
66ae3edf78
commit
a657554f66
@@ -115,12 +115,12 @@ const NewsletterSend = createReactClass({ // eslint-disable-line react/prefer-es
|
||||
body: JSON.stringify(response.data.body),
|
||||
categories: '["recent"]',
|
||||
},
|
||||
}).then(done).fail((err) => {
|
||||
}).fail((err) => {
|
||||
this.showError(err);
|
||||
this.setState({ loading: false });
|
||||
MailPoet.Modal.loading(false);
|
||||
done();
|
||||
});
|
||||
done();
|
||||
})
|
||||
.catch((err) => {
|
||||
this.showError({ errors: [err] });
|
||||
|
Reference in New Issue
Block a user