diff --git a/src/controllers/wizardfinishpage.js b/src/controllers/wizardfinishpage.js index 417b2425a5..caaaf3a1ef 100644 --- a/src/controllers/wizardfinishpage.js +++ b/src/controllers/wizardfinishpage.js @@ -6,17 +6,12 @@ define(["loading"], function(loading) { url: ApiClient.getUrl("Startup/Complete"), type: "POST" }).then(function() { - Dashboard.navigate("dashboard.html"); loading.hide(); + window.location.href = "index.html"; + }); } return function(view, params) { view.querySelector(".btnWizardNext").addEventListener("click", onFinish); - view.addEventListener("viewshow", function() { - document.querySelector(".skinHeader").classList.add("noHomeButtonHeader") - }); - view.addEventListener("viewhide", function() { - document.querySelector(".skinHeader").classList.remove("noHomeButtonHeader") - }); }; });