From e2bdc8ed179eebe59d48a5dfd0bb425b51e72460 Mon Sep 17 00:00:00 2001
From: Andreas Kristiansen <6977712+AndreasK79@users.noreply.github.com>
Date: Mon, 2 Jun 2025 10:55:35 +0200
Subject: [PATCH] QRG needs to be stored in Hz, so no .
---
application/views/satellite/edit.php | 4 ++--
assets/js/sections/satellite.js | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/application/views/satellite/edit.php b/application/views/satellite/edit.php
index 3223d101a..b8261f05a 100644
--- a/application/views/satellite/edit.php
+++ b/application/views/satellite/edit.php
@@ -62,9 +62,9 @@
| name) ?> |
uplink_mode ?> |
- uplink_freq ?> |
+ uplink_freq ?> |
downlink_mode ?> |
- downlink_freq ?> |
+ downlink_freq ?> |
|
|
diff --git a/assets/js/sections/satellite.js b/assets/js/sections/satellite.js
index 99991eca3..91f79d33f 100644
--- a/assets/js/sections/satellite.js
+++ b/assets/js/sections/satellite.js
@@ -409,7 +409,7 @@ function addSatMode() {
class: 'row_data bg-danger',
contenteditable: 'true',
style: 'text-align: center; vertical-align: middle;',
- oninput: 'this.textContent = this.textContent.replace(/[^0-9.]/g, "")'
+ oninput: 'this.textContent = this.textContent.replace(/[^0-9]/g, "")'
})
)
.append($('').append("").attr('contenteditable', 'true').addClass('bg-danger'))
@@ -418,7 +418,7 @@ function addSatMode() {
class: 'row_data bg-danger',
contenteditable: 'true',
style: 'text-align: center; vertical-align: middle;',
- oninput: 'this.textContent = this.textContent.replace(/[^0-9.]/g, "")'
+ oninput: 'this.textContent = this.textContent.replace(/[^0-9]/g, "")'
})
)
.append($(' | ').append(''))
|