Commit c0ff2b01 authored by Porter Libby's avatar Porter Libby
Browse files
parents 33b37055 2e39aad0
...@@ -517,7 +517,11 @@ function renderStreamingsHosts(hosts){ ...@@ -517,7 +517,11 @@ function renderStreamingsHosts(hosts){
var streamingshosts_ls = document.createElement('div'); var streamingshosts_ls = document.createElement('div');
streamingshosts_ls.id = 'streamingshosts-ls'; streamingshosts_ls.id = 'streamingshosts-ls';
for(x = 0; x < hosts.length; x++){ for(x = 0; x < hosts.length; x++){
var elem = createRadioElementStreamingsHosts((x % 2),'hosts', false, hosts[x].hostid, hosts[x].hostname.toString()); // util function var hostname = "Unknown Host";
if (hosts[x].hostname){
hostname = hosts[x].hostname.toString()
}
var elem = createRadioElementStreamingsHosts((x % 2),'hosts', false, hosts[x].hostid, hostname ); // util function
streamingshosts_ls.innerHTML += elem; streamingshosts_ls.innerHTML += elem;
} }
container.append(streamingshosts_ls); container.append(streamingshosts_ls);
......
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