Commit eaa8383b authored by Michael Tross's avatar Michael Tross

fix parsing of get property response

regression from dss commit 446586e28e9e4fd4704b92fd5567407acfb23f21
parent 11f60876
......@@ -302,12 +302,14 @@ var vdc_setup = function()
var vdc_device_query_callback = function(device, data)
{
var i;
var props = data.result.ResponseGetProperty;
var props = [];
var modeluid = "";
var connected = false;
var username = "";
if (data.result.type === "ResponseGetProperty") {
props = data.result.elements;
}
for (i = 0; i < props.length; i++)
{
var property = props[i];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment