kopia lustrzana https://gitlab.com/gridtracker.org/gridtracker
Merge branch 'fix-aclog-message-spaces' into 'master'
Fix Space Prepended to County Name When Logging to N3FJP ACLog (issue #156) Closes #156 See merge request gridtracker.org/gridtracker!196 If this is changing anything in the UI or operational behavior, please prepare to update the wiki!merge-requests/203/merge
commit
f25c0da8ff
|
@ -2864,7 +2864,7 @@ function aclAction(action)
|
|||
|
||||
function adifField(record, key)
|
||||
{
|
||||
if (key in record) return record[key];
|
||||
if (key in record) return record[key].trim();
|
||||
else return "";
|
||||
}
|
||||
function sendACLogMessage(record, port, address)
|
||||
|
@ -2938,7 +2938,10 @@ function sendACLogMessage(record, port, address)
|
|||
);
|
||||
report += aclUpdateControlValue("TXTENTRYITUZ", adifField(record, "ITUZ"));
|
||||
report += aclUpdateControlValue("TXTENTRYCQZONE", adifField(record, "CQZ"));
|
||||
report += aclUpdateControlValue("TXTENTRYCOUNTYR", adifField(record, "CNTY"));
|
||||
report += aclUpdateControlValue(
|
||||
"TXTENTRYCOUNTYR",
|
||||
adifField(record, "CNTY").replaceAll(", ", ",")
|
||||
);
|
||||
|
||||
var sentSpcNum = false;
|
||||
if (adifField(record, "SRX").length > 0)
|
||||
|
|
Ładowanie…
Reference in New Issue