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

Add upnp configuration

This commit is contained in:
Luke Pulverenti 2014-02-25 23:38:21 -05:00
parent d93325e109
commit 1bc46faa9c
2 changed files with 8 additions and 0 deletions

View file

@ -13,6 +13,8 @@
$('#txtPortNumber', page).val(config.HttpServerPortNumber);
$('#chkEnableUpnp', page).checked(config.EnableUPnP).checkboxradio('refresh');
Dashboard.hideLoadingMsg();
}
@ -45,6 +47,7 @@
config.LegacyWebSocketPortNumber = $('#txtWebSocketPortNumber', form).val();
config.HttpServerPortNumber = $('#txtPortNumber', form).val();
config.EnableUPnP = $('#chkEnableUpnp', form).checked();
ApiClient.updateServerConfiguration(config).done(Dashboard.processServerConfigurationUpdateResult);
});