[Advanced Logbook] Added duration as a column

This commit is contained in:
Andreas Kristiansen
2026-02-21 22:29:08 +01:00
parent 42a4924313
commit cad0163767
5 changed files with 35 additions and 0 deletions

View File

@@ -63,6 +63,9 @@ function updateRow(qso) {
if ((user_options.datetime.show ?? 'true') == "true"){
cells.eq(c++).text(qso.qsoDateTime);
}
if ((user_options.duration.show ?? 'true') == "true"){
cells.eq(c++).text(qso.duration);
}
if ((user_options.last_modification.show ?? 'true') == "true"){
cells.eq(c++).text(qso.last_modified);
}
@@ -283,6 +286,9 @@ function loadQSOTable(rows) {
data.push(qso.qsoDateTime);
}
}
if ((user_options.duration.show ?? 'true') == "true"){
data.push(qso.duration);
}
if ((user_options.last_modification.show ?? 'true') == "true"){
data.push(qso.last_modified);
}
@@ -1816,6 +1822,7 @@ function saveOptions() {
type: 'post',
data: {
datetime: $('input[name="datetime"]').is(':checked') ? true : false,
duration: $('input[name="duration"]').is(':checked') ? true : false,
last_modification: $('input[name="last_modification"]').is(':checked') ? true : false,
de: $('input[name="de"]').is(':checked') ? true : false,
dx: $('input[name="dx"]').is(':checked') ? true : false,