mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix redirect on wizardfinishpage (#415)
This commit is contained in:
parent
6b32af12da
commit
b326b4be31
1 changed files with 9 additions and 6 deletions
|
@ -6,14 +6,17 @@ define(["loading"], function(loading) {
|
|||
url: ApiClient.getUrl("Startup/Complete"),
|
||||
type: "POST"
|
||||
}).then(function() {
|
||||
Dashboard.navigate_direct("/dashboard.html"), loading.hide()
|
||||
})
|
||||
Dashboard.navigate("dashboard.html");
|
||||
loading.hide();
|
||||
});
|
||||
}
|
||||
return function(view, params) {
|
||||
view.querySelector(".btnWizardNext").addEventListener("click", onFinish), view.addEventListener("viewshow", function() {
|
||||
view.querySelector(".btnWizardNext").addEventListener("click", onFinish);
|
||||
view.addEventListener("viewshow", function() {
|
||||
document.querySelector(".skinHeader").classList.add("noHomeButtonHeader")
|
||||
}), view.addEventListener("viewhide", function() {
|
||||
});
|
||||
view.addEventListener("viewhide", function() {
|
||||
document.querySelector(".skinHeader").classList.remove("noHomeButtonHeader")
|
||||
})
|
||||
}
|
||||
});
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue