mirror of
https://github.com/Doodle3D/doodle3d-client.git
synced 2024-11-21 17:07:55 +01:00
Fixed can't find network.encryption javascript error
This commit is contained in:
parent
1523ba3227
commit
6cac5fc6f5
@ -265,10 +265,11 @@ function NetworkPanel() {
|
||||
console.log("NetworkPanel:selectNetwork: ",ssid);
|
||||
if(ssid == "") return;
|
||||
_selectedNetwork = ssid;
|
||||
if(_networks == undefined || ssid == CLIENT_MODE_STATE.NOT_CONNECTED) {
|
||||
if(ssid == CLIENT_MODE_STATE.NOT_CONNECTED) {
|
||||
hideWiFiPassword();
|
||||
} else {
|
||||
var network = _networks[ssid];
|
||||
if(network === undefined) return;
|
||||
if(network.encryption == "none") {
|
||||
hideWiFiPassword();
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user