mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 736096 - Don't pretend we have values that we didn't successfully
get. r=cjones DONTBUILD
This commit is contained in:
parent
2dd6194e06
commit
2a2658828e
@ -914,7 +914,8 @@ var WifiManager = (function() {
|
|||||||
for (var n = 0; n < networkConfigurationFields.length; ++n) {
|
for (var n = 0; n < networkConfigurationFields.length; ++n) {
|
||||||
let fieldName = networkConfigurationFields[n];
|
let fieldName = networkConfigurationFields[n];
|
||||||
getNetworkVariableCommand(netId, fieldName, function(value) {
|
getNetworkVariableCommand(netId, fieldName, function(value) {
|
||||||
config[fieldName] = value;
|
if (value !== null)
|
||||||
|
config[fieldName] = value;
|
||||||
if (++done == networkConfigurationFields.length)
|
if (++done == networkConfigurationFields.length)
|
||||||
callback(config);
|
callback(config);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user