18.106 MHz
EU / US
diff --git a/gui/src/components/grid/grid_active_broadcasts.vue b/gui/src/components/grid/grid_active_broadcasts.vue
index e4a466c3..08f1a04e 100644
--- a/gui/src/components/grid/grid_active_broadcasts.vue
+++ b/gui/src/components/grid/grid_active_broadcasts.vue
@@ -21,6 +21,14 @@ function startStopBeacon() {
}
}
var dxcallPing = ref("");
+window.addEventListener(
+ "stationSelected",
+ function (eventdata) {
+ let evt =
eventdata;
+ dxcallPing.value = evt.detail;
+ },
+ false,
+ );
diff --git a/gui/src/components/grid/grid_active_broadcasts_vert.vue b/gui/src/components/grid/grid_active_broadcasts_vert.vue
index 642fab6f..f1290fdc 100644
--- a/gui/src/components/grid/grid_active_broadcasts_vert.vue
+++ b/gui/src/components/grid/grid_active_broadcasts_vert.vue
@@ -21,6 +21,14 @@ function startStopBeacon() {
}
}
var dxcallPing = ref("");
+window.addEventListener(
+ "stationSelected",
+ function (eventdata) {
+ let evt =
eventdata;
+ dxcallPing.value = evt.detail;
+ },
+ false,
+ );
diff --git a/gui/src/components/grid/grid_active_heard_stations.vue b/gui/src/components/grid/grid_active_heard_stations.vue
index 682b4d38..a1262e0f 100644
--- a/gui/src/components/grid/grid_active_heard_stations.vue
+++ b/gui/src/components/grid/grid_active_heard_stations.vue
@@ -34,6 +34,10 @@ function getMaidenheadDistance(dxGrid) {
//
}
}
+function pushToPing(origin)
+{
+ window.dispatchEvent(new CustomEvent("stationSelected", {bubbles:true, detail: origin }));
+}
@@ -61,7 +65,7 @@ function getMaidenheadDistance(dxGrid) {
-
+
{{ getDateTime(item.timestamp) }}
|
diff --git a/gui/src/components/grid/grid_active_heard_stations_mini.vue b/gui/src/components/grid/grid_active_heard_stations_mini.vue
index 068de91e..e3837b7e 100644
--- a/gui/src/components/grid/grid_active_heard_stations_mini.vue
+++ b/gui/src/components/grid/grid_active_heard_stations_mini.vue
@@ -34,6 +34,10 @@ function getMaidenheadDistance(dxGrid) {
//
}
}
+function pushToPing(origin)
+{
+ window.dispatchEvent(new CustomEvent("stationSelected", {bubbles:true, detail: origin }));
+}
@@ -54,7 +58,7 @@ function getMaidenheadDistance(dxGrid) {
-
+
{{ getDateTime(item.timestamp) }}
|
diff --git a/gui/src/components/grid/grid_ping.vue b/gui/src/components/grid/grid_ping.vue
index ec044732..938e3a6d 100644
--- a/gui/src/components/grid/grid_ping.vue
+++ b/gui/src/components/grid/grid_ping.vue
@@ -12,6 +12,15 @@ function transmitPing() {
sendModemPing(dxcallPing.value.toUpperCase());
}
var dxcallPing = ref("");
+
+window.addEventListener(
+ "stationSelected",
+ function (eventdata) {
+ let evt = eventdata;
+ dxcallPing.value = evt.detail;
+ },
+ false,
+ );