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);
|
console.log("NetworkPanel:selectNetwork: ",ssid);
|
||||||
if(ssid == "") return;
|
if(ssid == "") return;
|
||||||
_selectedNetwork = ssid;
|
_selectedNetwork = ssid;
|
||||||
if(_networks == undefined || ssid == CLIENT_MODE_STATE.NOT_CONNECTED) {
|
if(ssid == CLIENT_MODE_STATE.NOT_CONNECTED) {
|
||||||
hideWiFiPassword();
|
hideWiFiPassword();
|
||||||
} else {
|
} else {
|
||||||
var network = _networks[ssid];
|
var network = _networks[ssid];
|
||||||
|
if(network === undefined) return;
|
||||||
if(network.encryption == "none") {
|
if(network.encryption == "none") {
|
||||||
hideWiFiPassword();
|
hideWiFiPassword();
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user