1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Update to 3.5.2 and .net core 2.1

This commit is contained in:
stefan 2018-09-12 19:26:21 +02:00
parent 15f48949eb
commit 1c06eed098
665 changed files with 13778 additions and 11582 deletions

View file

@ -0,0 +1 @@
define(["loading","emby-checkbox","emby-button","emby-select"],function(loading){"use strict";function save(page){loading.show();var apiClient=ApiClient,config={};config.EnableRemoteAccess=page.querySelector("#chkRemoteAccess").checked,config.EnableAutomaticPortMapping=page.querySelector("#chkEnableUpnp").checked,apiClient.ajax({type:"POST",data:config,url:apiClient.getUrl("Startup/RemoteAccess")}).then(function(){loading.hide(),navigateToNextPage()})}function navigateToNextPage(){Dashboard.navigate("wizardagreement.html")}function onSubmit(e){return save(this),e.preventDefault(),!1}return function(view,params){view.querySelector(".wizardSettingsForm").addEventListener("submit",onSubmit),view.addEventListener("viewshow",function(){document.querySelector(".skinHeader").classList.add("noHomeButtonHeader")}),view.addEventListener("viewhide",function(){document.querySelector(".skinHeader").classList.remove("noHomeButtonHeader")})}});