@ -630,7 +630,9 @@ function getLastHeard(document, event) {
$(document).ready(function(){
lines=event.data.split("\n");
varduration=0;
try{
lines.forEach(function(line,index,array){
logIt("Line: "+line);
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||line.indexOf("network end of transmission")>0)){
@ -645,6 +647,9 @@ function getLastHeard(document, event) {
}
}
if(line.indexOf("network watchdog")>0||line.indexOf("end of voice transmission")>0||line.indexOf("end of transmission")>0||line.indexOf("transmission lost")>0){
if(t_lh.rows().count()==0){
throwBreakException;
}
txing=false;
if(line.indexOf("network watchdog")>0){
logIt("Network Watchdog!");
@ -810,6 +815,9 @@ function getLastHeard(document, event) {