Commit 594b768c authored by Michael Tross's avatar Michael Tross

fix ui errors due to get property response changes

regression from dss commit 446586e28e9e4fd4704b92fd5567407acfb23f21
parent eaa8383b
......@@ -104,9 +104,13 @@ var vdc_show_message = function(title, message, reload)
var vdc_get_client_id_callback = function(device, data)
{
var i;
var props = data.result.ResponseGetProperty;
var props = [];
var client_id = "";
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