Update button type to prevent form submit
[MAILPOET-992]
This commit is contained in:
@ -98,6 +98,7 @@
|
|||||||
|
|
||||||
<div class="mailpoet_actions">
|
<div class="mailpoet_actions">
|
||||||
<button
|
<button
|
||||||
|
type="button"
|
||||||
class="mailpoet_sending_service_activate button-secondary"
|
class="mailpoet_sending_service_activate button-secondary"
|
||||||
<% if(settings.mta_group == 'mailpoet' or not(mss_key_valid)) %> disabled="disabled"<% endif %>
|
<% if(settings.mta_group == 'mailpoet' or not(mss_key_valid)) %> disabled="disabled"<% endif %>
|
||||||
><%= __('Activate') %></button>
|
><%= __('Activate') %></button>
|
||||||
@ -793,7 +794,6 @@
|
|||||||
// save settings
|
// save settings
|
||||||
$('.mailpoet_settings_submit > input').trigger('click');
|
$('.mailpoet_settings_submit > input').trigger('click');
|
||||||
}
|
}
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function setSignupConfirmation(group) {
|
function setSignupConfirmation(group) {
|
||||||
|
Reference in New Issue
Block a user