Remove auto port forward options
This commit is contained in:
@@ -11,13 +11,6 @@
|
||||
</label>
|
||||
<div class="fieldDescription checkboxFieldDescription">${AllowRemoteAccessHelp}</div>
|
||||
</div>
|
||||
<div class="checkboxContainer checkboxContainer-withDescription">
|
||||
<label>
|
||||
<input type="checkbox" is="emby-checkbox" id="chkEnableUpnp" />
|
||||
<span>${LabelEnableAutomaticPortMap}</span>
|
||||
</label>
|
||||
<div class="fieldDescription checkboxFieldDescription">${LabelEnableAutomaticPortMapHelp}</div>
|
||||
</div>
|
||||
<br />
|
||||
<div class="wizardNavigation">
|
||||
<button is="emby-button" type="button" class="raised button-cancel" onclick="history.back();">
|
||||
|
||||
@@ -8,8 +8,7 @@ function save(page) {
|
||||
loading.show();
|
||||
const apiClient = ApiClient;
|
||||
const config = {
|
||||
EnableRemoteAccess: page.querySelector('#chkRemoteAccess').checked,
|
||||
EnableAutomaticPortMapping: page.querySelector('#chkEnableUpnp').checked
|
||||
EnableRemoteAccess: page.querySelector('#chkRemoteAccess').checked
|
||||
};
|
||||
|
||||
apiClient.ajax({
|
||||
|
||||
Reference in New Issue
Block a user