mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2026-10-26 16:45:18 +00:00
Added a config setting to denote completion of the startup wizard
This commit is contained in:
1 parent
81911cd20b
commit
f0133d6189
2 files changed
+17
-1
No files matched your search
@@ -0,0 +1,16 @@
|
||||
var WizardFinishPage = {
|
||||
|
||||
onFinish: function() {
|
||||
|
||||
ApiClient.getServerConfiguration().done(function (config) {
|
||||
|
||||
config.IsStartupWizardCompleted = true;
|
||||
|
||||
ApiClient.updateServerConfiguration(config).done(function() {
|
||||
Dashboard.navigate('dashboard.html');
|
||||
});
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
};
|
||||
@@ -16,7 +16,7 @@ <h2>
|
||||
|
||||
<div class="wizardNavigation">
|
||||
<button type="button" data-iconpos="left" data-icon="arrow-left" data-inline="true" onclick="history.back();">Previous</button>
|
||||
<button type="button" data-iconpos="right" data-icon="wrench" data-inline="true" onclick="Dashboard.navigate('dashboard.html');" data-theme="b">Go to the Dashboard</button>
|
||||
<button type="button" data-iconpos="right" data-icon="wrench" data-inline="true" onclick="WizardFinishPage.onFinish();" data-theme="b">Go to the Dashboard</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in new issue
Block a user