Added support for logging WWFF and SOTA to db

这个提交包含在:
Andreas 2023-10-31 20:50:05 +01:00
父节点 16f3103add
当前提交 9e775dd35b

查看文件

@ -671,6 +671,15 @@ $(".js-save-to-log").click(function () {
var mode = item[5]; var mode = item[5];
var freq_display = item[3]; var freq_display = item[3];
var station_profile = $(".station_id").val(); var station_profile = $(".station_id").val();
var sota_ref = '';
var sig = '';
var sig_info = '';
if (isSOTA(item[8])) {
sota_ref = item[8];
} else if (isWWFF(item[8])) {
sig = "WWFF";
sig_info = item[8];
}
$.ajax({ $.ajax({
url: base_url + "index.php/qso/saveqso", url: base_url + "index.php/qso/saveqso",
@ -685,6 +694,9 @@ $(".js-save-to-log").click(function () {
freq_display: freq_display, freq_display: freq_display,
start_time: start_time, start_time: start_time,
station_profile: station_profile, station_profile: station_profile,
sota_ref: sota_ref,
sig: sig,
sig_info: sig_info
}, },
success: function (result) {}, success: function (result) {},
}); });