kopia lustrzana https://gitlab.com/gridtracker.org/gridtracker
Fixed chat search
rodzic
8d157a4fb7
commit
6e5d35d20f
|
@ -217,7 +217,8 @@
|
||||||
var count = 0;
|
var count = 0;
|
||||||
for (const x in window.opener.g_gtFlagPins) {
|
for (const x in window.opener.g_gtFlagPins) {
|
||||||
var obj = window.opener.g_gtFlagPins[x];
|
var obj = window.opener.g_gtFlagPins[x];
|
||||||
if (obj.canmsg == true && obj.call != "" && obj.call != "NOCALL") {
|
if (obj.canmsg == true && obj.call != "" && obj.call != "NOCALL")
|
||||||
|
{
|
||||||
var show = true;
|
var show = true;
|
||||||
try {
|
try {
|
||||||
if (searchBox.value.length > 0 && !obj.call.match(searchBox.value)) {
|
if (searchBox.value.length > 0 && !obj.call.match(searchBox.value)) {
|
||||||
|
@ -229,7 +230,10 @@
|
||||||
|
|
||||||
if (g_viewMode > 0 && window.opener.myMode != obj.mode) show = false;
|
if (g_viewMode > 0 && window.opener.myMode != obj.mode) show = false;
|
||||||
|
|
||||||
if (show) count++;
|
if (show)
|
||||||
|
{
|
||||||
|
count++;
|
||||||
|
}
|
||||||
|
|
||||||
makeCallsignRow(obj, show);
|
makeCallsignRow(obj, show);
|
||||||
|
|
||||||
|
@ -240,6 +244,11 @@
|
||||||
messageInput.disabled = false;
|
messageInput.disabled = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (obj.row)
|
||||||
|
{
|
||||||
|
obj.row.style.display = "none";
|
||||||
|
delete obj.row;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (typeof allCallTable.childNodes != "undefined" && 0 in allCallTable.childNodes) {
|
if (typeof allCallTable.childNodes != "undefined" && 0 in allCallTable.childNodes) {
|
||||||
|
|
Ładowanie…
Reference in New Issue