Fixed SSID bug in web interface

This commit is contained in:
Stefan Kremser
2018-04-11 18:48:59 +02:00
parent 5988520ff7
commit aef4c98534

View File

@@ -100,6 +100,6 @@ function save(id){
var wpa2 = ssidJson.ssids[id][1];
ssidJson.ssids[id] = [name,wpa2];
getFile("run?cmd=replace ssid "+id+" -n "+name+" "+(wpa2 ? "-wpa2" : ""));
getFile("run?cmd=replace ssid "+id+" -n \""+name+"\" "+(wpa2 ? "-wpa2" : ""));
}