From 21bad01db9d7e907057cb9cb49f76c954d18a719 Mon Sep 17 00:00:00 2001 From: Kim Huebel Date: Wed, 28 Apr 2021 19:11:06 +0100 Subject: [PATCH] solved https://github.com/dg9vh/MMDVMHost-Websocketboard/issues/26 copletely --- html/js/functions.js | 3 ++- html/js/version.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/html/js/functions.js b/html/js/functions.js index 35ad070..5316e7e 100644 --- a/html/js/functions.js +++ b/html/js/functions.js @@ -195,6 +195,7 @@ function getRawTarget(logline) { if (val.indexOf(",") > 0) { val = val.substring(0, val.indexOf(",")); } + logIt("RawTarget: " + val); return val; } } @@ -633,7 +634,7 @@ function getLastHeard(document, event) { if (!inDashboardBlacklist(line)) { txing = false; if (line.indexOf("Talker Alias") < 0 && line.indexOf("Downlink Activate") < 0 && line.indexOf("Preamble CSBK") < 0 && line.indexOf("data header") < 0 && line.indexOf("0000:") < 0 && line.length > 0 && (line.indexOf("received") > 0 || line.indexOf("network watchdog") > 0 || line.indexOf("transmission lost") > 0)) { - if (line.indexOf("received network data") > 0 || line.indexOf("late entry") > 0 || line.indexOf("voice header") > 0 || line.indexOf("received RF header") > 0) { + if (line.indexOf("received network data") > 0 || line.indexOf("late entry") > 0 || line.indexOf("voice header") > 0 || line.indexOf("network header") > 0 || line.indexOf("received RF header") > 0) { txing = true; if (getMode(line) == "DMR Slot 1" ) { ts1TXing = getMode(line) + ";" + line.substring(line.indexOf("from") + 5, line.indexOf("to")).trim() + ";" + getTarget(line) + ";" + getSource(line); diff --git a/html/js/version.js b/html/js/version.js index 391fb8f..b46d1d1 100644 --- a/html/js/version.js +++ b/html/js/version.js @@ -1 +1 @@ -var dashboard_version = "2021-04-28 18:39:52"; +var dashboard_version = "2021-04-28 19:11:05";