mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Ask for confirmation when stop tnc button is clicked
This commit is contained in:
parent
321ac76e15
commit
544efda23c
|
@ -1450,10 +1450,10 @@ document.getElementById('hamlib_rigctld_stop').addEventListener('click', () => {
|
|||
|
||||
// stopTNC button clicked
|
||||
document.getElementById("stopTNC").addEventListener("click", () => {
|
||||
if (!confirm("Stop the TNC?")) return;
|
||||
|
||||
daemon.stopTNC();
|
||||
|
||||
|
||||
|
||||
// collapse settings screen
|
||||
// deactivated this part so start / stop is a little bit more smooth. We are getting problems because of network delay
|
||||
/*
|
||||
|
@ -1467,9 +1467,6 @@ document.getElementById('hamlib_rigctld_stop').addEventListener('click', () => {
|
|||
var collapseFourthRow = new bootstrap.Collapse(document.getElementById('collapseFourthRow'), {toggle: false})
|
||||
collapseFourthRow.hide()
|
||||
*/
|
||||
|
||||
|
||||
|
||||
})
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue