Only getProperties, if username is available
This commit is contained in:
parent
00085410f3
commit
38a13d5edc
|
@ -795,7 +795,9 @@ function checkHueBridge(cb, hueUser) {
|
||||||
var host = hueIPs[hueIPsinc].host;
|
var host = hueIPs[hueIPsinc].host;
|
||||||
var port = hueIPs[hueIPsinc].port;
|
var port = hueIPs[hueIPsinc].port;
|
||||||
|
|
||||||
getProperties_hue_bridge(cb, decodeURIComponent(host), port, usr);
|
if (usr != '') {
|
||||||
|
getProperties_hue_bridge(cb, decodeURIComponent(host), port, usr);
|
||||||
|
}
|
||||||
|
|
||||||
if (isAPIv2Ready) {
|
if (isAPIv2Ready) {
|
||||||
$('#port').val(443);
|
$('#port').val(443);
|
||||||
|
|
Loading…
Reference in New Issue