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
@ -43,6 +43,7 @@ class NewsletterTemplates extends APIEndpoint {
|
||||
}
|
||||
|
||||
function save($data = array()) {
|
||||
ignore_user_abort(true);
|
||||
if (!empty($data['newsletter_id'])) {
|
||||
$template = NewsletterTemplate::whereEqual('newsletter_id', $data['newsletter_id'])->findOne();
|
||||
if (!empty($template)) {
|
||||
|
Reference in New Issue
Block a user