mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Merge remote-tracking branch 'origin/ls-gui' into ls-gui
This commit is contained in:
commit
4ffdd5ac39
2 changed files with 17 additions and 26 deletions
|
@ -278,8 +278,8 @@ window.addEventListener("DOMContentLoaded", () => {
|
|||
document.getElementById("enable_auto_retry").checked = false;
|
||||
}
|
||||
|
||||
document.getElementById("max_retry_attempts").value = config.max_retry_attempts;
|
||||
|
||||
document.getElementById("max_retry_attempts").value =
|
||||
config.max_retry_attempts;
|
||||
|
||||
if (config.enable_request_profile == "True") {
|
||||
document.getElementById("enable_request_profile").checked = true;
|
||||
|
@ -994,7 +994,6 @@ window.addEventListener("DOMContentLoaded", () => {
|
|||
bcn.disabled = false;
|
||||
});
|
||||
|
||||
|
||||
// enable_auto_retry Switch clicked
|
||||
document.getElementById("enable_auto_retry").addEventListener("click", () => {
|
||||
console.log(document.getElementById("enable_auto_retry").checked);
|
||||
|
@ -1008,15 +1007,16 @@ window.addEventListener("DOMContentLoaded", () => {
|
|||
});
|
||||
|
||||
// max_retry_attempts Switch clicked
|
||||
document.getElementById("max_retry_attempts").addEventListener("change", () => {
|
||||
console.log(document.getElementById("max_retry_attempts").value);
|
||||
config.max_retry_attempts = document.getElementById("max_retry_attempts").value;
|
||||
|
||||
//fs.writeFileSync(configPath, JSON.stringify(config, null, 2));
|
||||
FD.saveConfig(config, configPath);
|
||||
});
|
||||
|
||||
document
|
||||
.getElementById("max_retry_attempts")
|
||||
.addEventListener("change", () => {
|
||||
console.log(document.getElementById("max_retry_attempts").value);
|
||||
config.max_retry_attempts =
|
||||
document.getElementById("max_retry_attempts").value;
|
||||
|
||||
//fs.writeFileSync(configPath, JSON.stringify(config, null, 2));
|
||||
FD.saveConfig(config, configPath);
|
||||
});
|
||||
|
||||
// sendscatter Switch clicked
|
||||
document.getElementById("scatterSwitch").addEventListener("click", () => {
|
||||
|
|
|
@ -2916,11 +2916,6 @@
|
|||
</label>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="input-group input-group-sm mb-1">
|
||||
<label class="input-group-text w-50"
|
||||
>Shared folder path</label
|
||||
|
@ -2932,27 +2927,26 @@
|
|||
/>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="input-group input-group-sm mb-1">
|
||||
<div class="input-group input-group-sm mb-1">
|
||||
<label class="input-group-text w-50"
|
||||
>Enable auto retry on Beacon or Ping
|
||||
</label>
|
||||
|
||||
<label class="input-group-text w-50">
|
||||
|
||||
<div class="form-check form-switch form-check-inline">
|
||||
<div class="form-check form-switch form-check-inline">
|
||||
<input
|
||||
class="form-check-input"
|
||||
type="checkbox"
|
||||
id="enable_auto_retry"
|
||||
/>
|
||||
</div>
|
||||
</label>
|
||||
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="input-group input-group-sm mb-1">
|
||||
<span class="input-group-text w-50">message retry attempts</span>
|
||||
<span class="input-group-text w-50"
|
||||
>message retry attempts</span
|
||||
>
|
||||
<select
|
||||
class="form-select form-select-sm w-50"
|
||||
id="max_retry_attempts"
|
||||
|
@ -2966,13 +2960,10 @@
|
|||
<option value="7">7</option>
|
||||
<option value="8">8</option>
|
||||
<option value="9">9</option>
|
||||
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!--Rigctl tab contents-->
|
||||
<div
|
||||
class="tab-pane"
|
||||
|
|
Loading…
Reference in a new issue