mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-07-30 00:39:16 +02:00
hotfix for usb/wireless connection setup UI
This commit is contained in:
@@ -161,6 +161,14 @@ function submitData() {
|
|||||||
$('#ip-addresses').val(data.webserver.banlist?.join('\n') || "");
|
$('#ip-addresses').val(data.webserver.banlist?.join('\n') || "");
|
||||||
|
|
||||||
$('#connection-type-toggle').prop("checked", data.xdrd.wirelessConnection || false);
|
$('#connection-type-toggle').prop("checked", data.xdrd.wirelessConnection || false);
|
||||||
|
|
||||||
|
if($('#connection-type-toggle').is(":checked")) {
|
||||||
|
$('#tuner-usb').hide();
|
||||||
|
$('#tuner-wireless').show();
|
||||||
|
} else {
|
||||||
|
$('#tuner-wireless').hide();
|
||||||
|
$('#tuner-usb').show();
|
||||||
|
}
|
||||||
|
|
||||||
$('#xdrd-ip').val(data.xdrd.xdrdIp);
|
$('#xdrd-ip').val(data.xdrd.xdrdIp);
|
||||||
$('#xdrd-port').val(data.xdrd.xdrdPort);
|
$('#xdrd-port').val(data.xdrd.xdrdPort);
|
||||||
|
|||||||
Reference in New Issue
Block a user