From 61cdab9bd1af2e1e6a2a3983847e8edd4f3f14bf Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Wed, 2 Sep 2015 12:32:00 -0400 Subject: [PATCH 1/2] update startup wizard --- dashboard-ui/scripts/site.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dashboard-ui/scripts/site.js b/dashboard-ui/scripts/site.js index 0ed7a00b84..845dca3b62 100644 --- a/dashboard-ui/scripts/site.js +++ b/dashboard-ui/scripts/site.js @@ -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(); From a43b91f49c31a7133f75ebc62650ea24bac5c341 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Wed, 2 Sep 2015 12:57:54 -0400 Subject: [PATCH 2/2] fix metadata sidebar for IE --- dashboard-ui/edititemmetadata.html | 2 +- dashboard-ui/scripts/edititemmetadata.js | 17 +++-- dashboard-ui/scripts/editorsidebar.js | 79 ++++++++---------------- 3 files changed, 38 insertions(+), 60 deletions(-) diff --git a/dashboard-ui/edititemmetadata.html b/dashboard-ui/edititemmetadata.html index e8ebe05db8..52c1169bcc 100644 --- a/dashboard-ui/edititemmetadata.html +++ b/dashboard-ui/edititemmetadata.html @@ -14,7 +14,7 @@