Redirect basics tab to new settings
[MAILPOET-2677]
This commit is contained in:
committed by
Veljko V
parent
dc0fc44194
commit
3194d93a07
@@ -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;
|
||||
|
Reference in New Issue
Block a user