mirror of
https://github.com/Doodle3D/doodle3d-client.git
synced 2024-11-22 01:07:56 +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