Fix spinning circle at the end of config wizard.

Adds some functions to navigate directly to url, instead of relatively.
This commit is contained in:
Riccardo Zanotto 2019-01-11 13:40:36 +01:00
parent 02918d066f
commit b7e857127c
4 changed files with 18 additions and 2 deletions

View file

@ -6,7 +6,7 @@ define(["loading"], function(loading) {
url: ApiClient.getUrl("Startup/Complete"),
type: "POST"
}).then(function() {
Dashboard.navigate("dashboard.html"), loading.hide()
Dashboard.navigate_direct("/dashboard.html"), loading.hide()
})
}
return function(view, params) {
@ -16,4 +16,4 @@ define(["loading"], function(loading) {
document.querySelector(".skinHeader").classList.remove("noHomeButtonHeader")
})
}
});
});