jellyfin-web/dashboard-ui/scripts/wizardfinishpage.js

15 lines
346 B
JavaScript
Raw Normal View History

var WizardFinishPage = {
2013-04-23 12:17:21 -07:00
onFinish: function () {
ApiClient.getServerConfiguration().done(function (config) {
config.IsStartupWizardCompleted = true;
2013-04-23 12:17:21 -07:00
2014-07-07 18:41:03 -07:00
ApiClient.updateServerConfiguration(config).done(function () {
2013-04-23 12:17:21 -07:00
2014-07-07 18:41:03 -07:00
Dashboard.navigate('dashboard.html');
});
});
}
};