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()) {
|
||||
jQuery('#mailpoet_newsletter').parsley().validate();
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user