mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
move authentication and playback controllers to subdirectories
This commit is contained in:
parent
4bf12b1682
commit
07994e0a40
13 changed files with 12 additions and 12 deletions
18
src/controllers/wizard/finish.js
Normal file
18
src/controllers/wizard/finish.js
Normal file
|
@ -0,0 +1,18 @@
|
|||
define(["loading"], function (loading) {
|
||||
"use strict";
|
||||
|
||||
function onFinish() {
|
||||
loading.show();
|
||||
ApiClient.ajax({
|
||||
url: ApiClient.getUrl("Startup/Complete"),
|
||||
type: "POST"
|
||||
}).then(function () {
|
||||
loading.hide();
|
||||
window.location.href = "index.html";
|
||||
});
|
||||
}
|
||||
|
||||
return function (view, params) {
|
||||
view.querySelector(".btnWizardNext").addEventListener("click", onFinish);
|
||||
};
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue