diff --git a/app/modules/enduser_setup.c b/app/modules/enduser_setup.c index bfb2c97b..654f3f55 100644 --- a/app/modules/enduser_setup.c +++ b/app/modules/enduser_setup.c @@ -219,6 +219,7 @@ static const char http_header_500[] = "HTTP/1.1 500 Internal Error\r\n\r\n"; refresh_status(); refresh_ap_list(); document.getElementById("aplist").onclick = set_ssid_field; + document.getElementById("aplist").onchange = set_ssid_field; document.getElementById("credentialsForm").addEventListener("submit", function(){ fetch('/status','GET', new_status); }); @@ -228,7 +229,7 @@ static const char http_header_500[] = "HTTP/1.1 500 Internal Error\r\n\r\n"; #endif static const char http_html_backup[] = -"WiFi Login

WiFi Login

Connect gadget to your WiFi network

Status: Updating...

"; +"WiFi Login

WiFi Login

Connect gadget to your WiFi network

Status: Updating...

"; typedef struct scan_listener