diff --git a/op25/gr-op25_repeater/www/www-static/main.js b/op25/gr-op25_repeater/www/www-static/main.js index dd0706d..daefb0d 100644 --- a/op25/gr-op25_repeater/www/www-static/main.js +++ b/op25/gr-op25_repeater/www/www-static/main.js @@ -79,7 +79,7 @@ function edit_d(d, to_ui) { for (var k in d) { if (!to_ui) { if (d[k] == "None") - new_d[k] = null; + new_d[k] = ""; else new_d[k] = d[k]; if (k == "plot" && !d[k].length) @@ -643,6 +643,10 @@ function f_list() { send_command("config-list", (inp.checked) ? "tsv" : ""); } +function f_stop() { + send_command("rx-stop", ""); +} + function f_start() { var sel = document.getElementById("config_select"); if (!sel) return;