Fix standard newsletters to not send when segments are missing
This commit is contained in:
@@ -79,7 +79,9 @@ define(
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
handleSend: function() {
|
handleSend: function(e) {
|
||||||
|
e.preventDefault();
|
||||||
|
|
||||||
if(!this.isValid()) {
|
if(!this.isValid()) {
|
||||||
jQuery('#mailpoet_newsletter').parsley().validate();
|
jQuery('#mailpoet_newsletter').parsley().validate();
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user