|
82 | 82 | <td>
|
83 | 83 | <div class="input-group sim-input-field" style="width:150px">
|
84 | 84 | <div class="input-group-prepend">
|
85 |
| - <button onclick='document.getElementById("autopilot-vertical-hold-var").value = document.getElementById("autopilot-vertical-hold-var").value * (-1); $(this).blur();' class="btn btn-secondary" type="button" style="margin-top:0px;margin-bottom:0px;padding-left:0px;padding-right:0px;width:37px;" title="Set positive/negative value" id="AP_vs_pos_neg">+/-</button> |
| 85 | + <button onclick='document.getElementById("autopilot-vertical-hold-var").value = document.getElementById("autopilot-vertical-hold-var").value * (-1); $(this).blur();' class="btn btn-secondary" type="button" style="margin-top:0px;margin-bottom:0px;padding:0px;width:37px;" title="Set positive/negative value" id="AP_vs_pos_neg">+/-</button> |
86 | 86 | </div>
|
87 | 87 | <input id="autopilot-vertical-hold-var" type="number" onkeydown = "if (event.keyCode == 13) document.getElementById('AP_vs_set').click()" inputmode="numeric" pattern="[0-9]*" class="form-control" placeholder="?" aria-describedby="basic-addon2" style = "padding-left:10px;padding-right:0px">
|
88 | 88 | <div class="input-group-append">
|
89 |
| - <button onclick='if (document.getElementById("autopilot-vertical-hold-var").value <= 10000 && document.getElementById("autopilot-vertical-hold-var").value >= -10000 && document.getElementById("autopilot-vertical-hold-var").value != "") {triggerSimEventFromField ("AP_VS_VAR_SET_ENGLISH", "autopilot-vertical-hold-var", "Setting AP VS");$("#autopilot-vertical-hold-var").val("");}; $(this).blur();' class="btn btn-warning" type="button" style="margin-top:0px;margin-bottom:0px;width:50px;" title="Set AP airspeed in knots" id="AP_vs_set">Set</button> |
| 89 | + <button onclick='if (document.getElementById("autopilot-vertical-hold-var").value <= 10000 && document.getElementById("autopilot-vertical-hold-var").value >= -10000 && document.getElementById("autopilot-vertical-hold-var").value != "") {triggerSimEventFromField ("AP_VS_VAR_SET_ENGLISH", "autopilot-vertical-hold-var", "Setting AP VS");$("#autopilot-vertical-hold-var").val("");}; $(this).blur();' class="btn btn-warning" type="button" style="margin-top:0px;margin-bottom:0px;padding:0px;width:50px;" title="Set AP airspeed in knots" id="AP_vs_set">Set</button> |
90 | 90 | </div>
|
91 | 91 | </div>
|
92 | 92 | </td>
|
|
208 | 208 | <td>
|
209 | 209 | <div class="input-group sim-input-field" style="width:178px">
|
210 | 210 | <div class="input-group-prepend">
|
211 |
| - <button onclick='document.getElementById("a320-vertical-hold-var").value = document.getElementById("a320-vertical-hold-var").value * (-1); $(this).blur();' class="btn btn-secondary" type="button" style="margin-top:0px;margin-bottom:0px;padding-left:0px;padding-right:0px;width:50px;" title="Set positive/negative value" id="AP_A320_vs_pos_neg">+/-</button> |
| 211 | + <button onclick='document.getElementById("a320-vertical-hold-var").value = document.getElementById("a320-vertical-hold-var").value * (-1); $(this).blur();' class="btn btn-secondary" type="button" style="margin-top:0px;margin-bottom:0px;padding:0px;width:50px;" title="Set positive/negative value" id="AP_A320_vs_pos_neg">+/-</button> |
212 | 212 | </div>
|
213 | 213 | <input id="a320-vertical-hold-var" type="number" onkeydown = "if (event.keyCode == 13) document.getElementById('a320_vs_set').click()" inputmode="numeric" pattern="[0-9]*" class="form-control" placeholder="?" aria-describedby="basic-addon2" style = "padding-left:10px;padding-right:0px">
|
214 | 214 | <div class="input-group-append">
|
215 |
| - <button onclick='if (document.getElementById("a320-vertical-hold-var").value <= 10000 && document.getElementById("a320-vertical-hold-var").value >= -10000 && document.getElementById("a320-vertical-hold-var").value != "") {triggerSimEventFromField ("AP_VS_VAR_SET_ENGLISH", "a320-vertical-hold-var", "Setting AP VS");triggerSimEvent ("AP_PANEL_VS_ON", 1, true);$("#a320-vertical-hold-var").val("");}; $(this).blur();' class="btn btn-warning" type="button" style="margin-top:0px;margin-bottom:0px;width:50px;" title="Set AP airspeed in knots" id="a320_vs_set">Set</button> |
| 215 | + <button onclick='if (document.getElementById("a320-vertical-hold-var").value <= 10000 && document.getElementById("a320-vertical-hold-var").value >= -10000 && document.getElementById("a320-vertical-hold-var").value != "") {triggerSimEventFromField ("AP_VS_VAR_SET_ENGLISH", "a320-vertical-hold-var", "Setting AP VS");triggerSimEvent ("AP_PANEL_VS_ON", 1, true);$("#a320-vertical-hold-var").val("");}; $(this).blur();' class="btn btn-warning" type="button" style="margin-top:0px;margin-bottom:0px;padding:0px;width:50px;" title="Set AP airspeed in knots" id="a320_vs_set">Set</button> |
216 | 216 | </div>
|
217 | 217 | </div>
|
218 | 218 | </td>
|
|
0 commit comments