Redirect basics tab to new settings

[MAILPOET-2677]
This commit is contained in:
Amine Ben hammou
2020-03-18 20:01:27 +01:00
committed by Veljko V
parent dc0fc44194
commit 3194d93a07

View File

@@ -46,6 +46,9 @@ if (jQuery('#mailpoet_settings').length > 0) {
}
},
tabs: function tabs(tab) {
if (tab === 'basics') {
window.location.href = '?page=mailpoet-new-settings#/basics';
}
if (tab === 'woocommerce' && !window.mailpoet_woocommerce_active) {
window.location.hash = '#basics';
return;