Redirect to new Basics page by default

[MAILPOET-2677]
This commit is contained in:
Amine Ben hammou
2020-03-17 15:32:43 +01:00
committed by Veljko V
parent 3af7601ab6
commit cd9fd66c15

View File

@@ -11,8 +11,8 @@ if (jQuery('#mailpoet_settings').length > 0) {
'(:tab)': 'tabs',
},
defaultRoute: function defaultRoute() {
// display basics tab as default
this.tabs('basics');
// redirect to new settings by default
window.location.href = '?page=mailpoet-new-settings#/basics';
},
sendingMethodGroup: function sendingMethodGroup(group) {
// display mta tab