1
0
mirror of https://github.com/KubaPro010/fm-dx-webserver.git synced 2026-02-26 22:13:53 +01:00

hotfix for maps

This commit is contained in:
NoobishSVK
2024-03-16 21:08:01 +01:00
parent 44e2927801
commit c2441389bb
3 changed files with 5 additions and 4 deletions

View File

@@ -98,7 +98,7 @@ function submitData() {
tunePass,
adminPass,
},
device,
tuner,
publicTuner,
lockToAdmin,
autoShutdown,
@@ -184,8 +184,8 @@ function submitData() {
$("#com-devices").val(selectedDevice.text());
}
$('#device-type').val(data.device);
var selectedDevice = $(".option[data-value='" + data.device + "']");
$('#device-type').val(data.tuner);
var selectedDevice = $(".option[data-value='" + data.tuner + "']");
if (selectedDevice.length > 0) {
$("#device-type").val(selectedDevice.text());
}