|
289 | 289 | </div>
|
290 | 290 | <input lang="en-US" class="form-control" type="number" onkeydown = "if (event.keyCode == 13) document.getElementById('NAV1_Set').click()" inputmode="decimal" pattern="[0-9]*" id="NAV1_freq" aria-label="NAV 1 Freq" aria-describedby="NAV1_freq" placeholder="-">
|
291 | 291 | <div class="input-group-append">
|
292 |
| - <button onclick='if (document.getElementById("NAV1_freq").value <= 117.95 && document.getElementById("NAV1_freq").value >= 108 && document.getElementById("NAV1_freq").value != "") {triggerSimEventFromField ("NAV1_RADIO_SET", "NAV1_freq", "Setting NAV1"); $("#NAV1_freq").val("");}; $(this).blur(); sleep(3000).then(() => { syncRadio(); });' class="btn btn-warning" type="button" id="NAV1_Set" style="margin-top:0px;margin-bottom:0px;" title="Set NAV 1 frequency in MHz">Set</button> |
| 292 | + <button onclick='document.getElementById("NAV1_freq").value = document.getElementById("NAV1_freq").value. replace(",", "."); if (document.getElementById("NAV1_freq").value <= 117.95 && document.getElementById("NAV1_freq").value >= 108 && document.getElementById("NAV1_freq").value != "") {triggerSimEventFromField ("NAV1_RADIO_SET", "NAV1_freq", "Setting NAV1"); $("#NAV1_freq").val("");}; $(this).blur(); sleep(3000).then(() => { syncRadio(); });' class="btn btn-warning" type="button" id="NAV1_Set" style="margin-top:0px;margin-bottom:0px;" title="Set NAV 1 frequency in MHz">Set</button> |
293 | 293 | </div>
|
294 | 294 | </div>
|
295 | 295 | </div>
|
|
324 | 324 | </div>
|
325 | 325 | <input lang="en-US" class="form-control" type="number" onkeydown = "if (event.keyCode == 13) document.getElementById('NAV2_Set').click()" inputmode="decimal" pattern="[0-9]*" id="NAV2_freq" aria-label="NAV 2 Freq" aria-describedby="NAV2_freq" placeholder="-">
|
326 | 326 | <div class="input-group-append">
|
327 |
| - <button onclick='if (document.getElementById("NAV2_freq").value <= 117.95 && document.getElementById("NAV2_freq").value >= 108 && document.getElementById("NAV2_freq").value != "") {triggerSimEventFromField ("NAV2_RADIO_SET", "NAV2_freq", "Setting NAV2");$("#NAV2_freq").val("");}; $(this).blur();sleep(3000).then(() => { syncRadio(); });' class="btn btn-warning" type="button" id="NAV2_Set" style="margin-top:0px;margin-bottom:0px;" title="Set NAV 2 frequency in MHz">Set</button> |
| 327 | + <button onclick='document.getElementById("NAV2_freq").value = document.getElementById("NAV2_freq").value. replace(",", "."); if (document.getElementById("NAV2_freq").value <= 117.95 && document.getElementById("NAV2_freq").value >= 108 && document.getElementById("NAV2_freq").value != "") {triggerSimEventFromField ("NAV2_RADIO_SET", "NAV2_freq", "Setting NAV2");$("#NAV2_freq").val("");}; $(this).blur();sleep(3000).then(() => { syncRadio(); });' class="btn btn-warning" type="button" id="NAV2_Set" style="margin-top:0px;margin-bottom:0px;" title="Set NAV 2 frequency in MHz">Set</button> |
328 | 328 | </div>
|
329 | 329 | </div>
|
330 | 330 | </div>
|
|
357 | 357 | <div class="input-group-prepend">
|
358 | 358 | <span class="input-group-text text-body" id="inputGroup-sizing-default" style="background-color:#B3B6B8; border-color:#B3B6B8; width:150px">ADF Freq (kHz)</span>
|
359 | 359 | </div>
|
360 |
| - <input lang="en-US" class="form-control" type="number" onkeydown = "if (event.keyCode == 13) document.getElementById('ADF_Freq_Set').click()" inputmode="decimal" pattern="[0-9]*" id="ADF_freq" aria-label="ADF Freq" aria-describedby="ADF_freq" placeholder="-"> |
| 360 | + <input lang="en-US" class="form-control" type="number" onkeydown = "if (event.keyCode == 13) document.getElementById('ADF_Freq_Set').click()" inputmode="numeric" pattern="[0-9]*" id="ADF_freq" aria-label="ADF Freq" aria-describedby="ADF_freq" placeholder="-"> |
361 | 361 | <div class="input-group-append">
|
362 | 362 | <button onclick='if (document.getElementById("ADF_freq").value <= 1799 && document.getElementById("ADF_freq").value >= 100 && document.getElementById("ADF_freq").value != "") {triggerSimEventFromField ("ADF_COMPLETE_SET", "ADF_freq", "Setting ADF"); $("#ADF_freq").val("");}; $(this).blur();sleep(3000).then(() => { syncRadio(); });' class="btn btn-warning" type="button" id="ADF_Freq_Set" style="margin-top:0px;margin-bottom:0px;" title="Set ADF frequency in kHz">Set</button>
|
363 | 363 | </div>
|
|
0 commit comments