update startup wizard
This commit is contained in:
@@ -2290,10 +2290,15 @@ $(document).on('pagecreate', ".page", function () {
|
||||
|
||||
var page = this;
|
||||
|
||||
var isWizardPage = page.classList.contains('wizardPage');
|
||||
Dashboard.ensurePageTitle(page);
|
||||
|
||||
var apiClient = window.ApiClient;
|
||||
|
||||
if (isWizardPage) {
|
||||
require(['jqmicons']);
|
||||
}
|
||||
|
||||
if (apiClient && apiClient.accessToken() && Dashboard.getCurrentUserId()) {
|
||||
|
||||
var isSettingsPage = page.classList.contains('type-interior');
|
||||
@@ -2323,7 +2328,7 @@ $(document).on('pagecreate', ".page", function () {
|
||||
}
|
||||
}
|
||||
|
||||
if (!isConnectMode && this.id !== "loginPage" && !page.classList.contains('forgotPasswordPage') && !page.classList.contains('wizardPage') && this.id !== 'publicSharedItemPage') {
|
||||
if (!isConnectMode && this.id !== "loginPage" && !page.classList.contains('forgotPasswordPage') && !isWizardPage && this.id !== 'publicSharedItemPage') {
|
||||
|
||||
Logger.log('Not logged into server. Redirecting to login.');
|
||||
Dashboard.logout();
|
||||
|
||||
Reference in New Issue
Block a user