Skip to content

Commit

Permalink
fix #441
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefal committed Nov 24, 2024
1 parent ead0d3f commit 18f32e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web_app/static/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ $(document).ready(function () {
detectApplyBtnElt.innerText = "Apply";
detectApplyBtnElt.setAttribute('disabled', '');
detectApplyBtnElt.removeAttribute('data-dismiss');
detectCancelBtnElt.hidden = false;
detectBodyElt.innerHTML = '<span class="spinner-border spinner-border-sm"></span> Detecting GNSS receiver...';
socket.emit("detect_receiver", {"then_configure" : false});
$('#detectModal').modal();
Expand Down Expand Up @@ -373,7 +374,7 @@ $(document).ready(function () {
detectApplyBtnElt.onclick = function (){}; //remove the previous attached event which launched the gnss configuration
detectApplyBtnElt.innerText = "Close";
detectApplyBtnElt.setAttribute('disabled', '');
detectCancelBtnElt.remove();
detectCancelBtnElt.hidden = true;
detectBodyElt.innerHTML = '<span class="spinner-border spinner-border-sm"></span> Configuring GNSS receiver...';
socket.emit("configure_receiver");
$('#detectModal').modal();
Expand Down

0 comments on commit 18f32e9

Please sign in to comment.