Fixed "TypeError: table.tBodies[0] is undefined" host browser JS error

Traced in browser console when a host details table is empty.
pull/250/head
luccioman 6 years ago
parent fcf6b16db4
commit 0b1d2cb0dd

@ -196,6 +196,7 @@ var solr= $.getJSON("solr/collection1/select?q=*:*&defType=edismax&start=0&rows=
<th style="text-align:right; padding:2px;" class="listingem">failed</th> <th style="text-align:right; padding:2px;" class="listingem">failed</th>
</tr> </tr>
</thead> </thead>
<tbody>
#(root)# #(root)#
<tr class="TableCell#(dark)#Light::Dark::Summary#(/dark)#"> <tr class="TableCell#(dark)#Light::Dark::Summary#(/dark)#">
<td style="text-align:center"></td> <td style="text-align:center"></td>
@ -226,6 +227,7 @@ var solr= $.getJSON("solr/collection1/select?q=*:*&defType=edismax&start=0&rows=
</tr> </tr>
#(/type)# #(/type)#
#{/list}# #{/list}#
</tbody>
</table> </table>
</fieldset> </fieldset>

Loading…
Cancel
Save