Redirect to new settings
[MAILPOET-2679]
This commit is contained in:
committed by
Veljko V
parent
b33181d433
commit
0a8988191c
@@ -27,8 +27,7 @@ if (jQuery('#mailpoet_settings').length > 0) {
|
|||||||
jQuery('.mailpoet_settings_submit').hide();
|
jQuery('.mailpoet_settings_submit').hide();
|
||||||
|
|
||||||
if (group === null) {
|
if (group === null) {
|
||||||
// show sending methods
|
window.location.href = '?page=mailpoet-new-settings#/mta';
|
||||||
jQuery('.mailpoet_sending_methods, .mailpoet_sending_methods_help').fadeIn();
|
|
||||||
} else {
|
} else {
|
||||||
// toggle SPF (hidden if the sending method is MailPoet)
|
// toggle SPF (hidden if the sending method is MailPoet)
|
||||||
jQuery('#mailpoet_mta_spf')[
|
jQuery('#mailpoet_mta_spf')[
|
||||||
|
@@ -25,13 +25,13 @@ export default () => {
|
|||||||
>
|
>
|
||||||
{t('signupConfirmationTab')}
|
{t('signupConfirmationTab')}
|
||||||
</TabLink>
|
</TabLink>
|
||||||
<a
|
<TabLink
|
||||||
className="nav-tab"
|
name="mta"
|
||||||
href="?page=mailpoet-settings#mta"
|
current={current}
|
||||||
data-automation-id="send_with_settings_tab"
|
automationId="send_with_settings_tab"
|
||||||
>
|
>
|
||||||
{t('sendWithTab')}
|
{t('sendWithTab')}
|
||||||
</a>
|
</TabLink>
|
||||||
{hasWooCommerce && (
|
{hasWooCommerce && (
|
||||||
<TabLink
|
<TabLink
|
||||||
name="woocommerce"
|
name="woocommerce"
|
||||||
|
Reference in New Issue
Block a user