If SatPC32 is unselected from radio dropdown clear the sat_name and sat_mode windows
这个提交包含在:
父节点
4b6d59d152
当前提交
ae131c6679
共有 1 个文件被更改,包括 5 次插入 和 4 次删除
|
|
@ -469,7 +469,7 @@ $(document).ready(function(){
|
|||
} else if ($(this).val() == 'FSK441' || $(this).val() == 'JT6M') {
|
||||
$('#rst_sent').val('26');
|
||||
$('#rst_recv').val('26');
|
||||
} else if ($(this).val() == 'CW' || $(this).val() == 'RTTY' || $(this).val() == 'PSK31' !! $(this).val() == 'PSK63') {
|
||||
} else if ($(this).val() == 'CW' || $(this).val() == 'RTTY' || $(this).val() == 'PSK31' || $(this).val() == 'PSK63') {
|
||||
$('#rst_sent').val('599');
|
||||
$('#rst_recv').val('599');
|
||||
} else {
|
||||
|
|
@ -538,9 +538,10 @@ $(document).ready(function(){
|
|||
|
||||
// If radio isn't SatPC32 clear sat_name and sat_mode
|
||||
$( ".radios" ).change(function() {
|
||||
if ($("#yourdropdownid option:selected").text() != "SatPC32") {
|
||||
$(".sat_name").val("");
|
||||
$(".sat_mode").val("");
|
||||
if ($(".radios option:selected").text() != "SatPC32") {
|
||||
console.log("not satPC32");
|
||||
$("#sat_name").val("");
|
||||
$("#sat_mode").val("");
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
正在加载…
在新工单中引用