mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1079173 - Check existence of netId instead of check it's value. r=hchang
This commit is contained in:
parent
f00983bfc4
commit
a1f78b7895
@ -1859,7 +1859,7 @@ function WifiWorker() {
|
||||
var pub = new Network(ssid, security, password);
|
||||
if (net.identity)
|
||||
pub.identity = dequote(net.identity);
|
||||
if (net.netId)
|
||||
if ("netId" in net)
|
||||
pub.known = true;
|
||||
if (net.scan_ssid === 1)
|
||||
pub.hidden = true;
|
||||
|
Loading…
Reference in New Issue
Block a user