Permalink
Browse files

webui: fix display of first 5 GHz band clients on Sysinfo page for tr…

…i-band routers
  • Loading branch information...
RMerl committed Jan 8, 2019
1 parent a39dd34 commit 8ceff0c8aed0c3cfcb434df06ef5f6d2561605f4
Showing with 11 additions and 9 deletions.
  1. +11 −9 release/src/router/www/Tools_Sysinfo.asp
@@ -55,15 +55,17 @@ overlib.isOut = true;
function initial(){
show_menu();
if (band5g_support) {
document.getElementById("wifi5_clients_tr").style.display = "";
}
if (wl_info.band5g_2_support) {
document.getElementById("wifi51_clients_th").innerHTML = "Wireless Clients (5 GHz-1)";
document.getElementById("wifi5_2_clients_tr").style.display = "";
} else if (based_modelid == "RT-AC87U") {
document.getElementById("wifi5_clients_tr_qtn").style.display = "";
document.getElementById("qtn_version").style.display = "";
} else if (band5g_support) {
document.getElementById("wifi5_clients_tr").style.display = "";
}
}
if (based_modelid == "RT-AC87U") {
document.getElementById("wifi5_clients_tr_qtn").style.display = "";
document.getElementById("qtn_version").style.display = "";
}
showbootTime();
@@ -620,19 +622,19 @@ function update_sysinfo(e){
</td>
</tr>
<tr>
<th>Wireless clients (2.4 GHz)</th>
<th>Wireless Clients (2.4 GHz)</th>
<td id="wlc_24_td"></td>
</tr>
<tr id="wifi5_clients_tr" style="display:none;">
<th id="wifi51_clients_th">Wireless clients (5 GHz)</th>
<td id="wlc_51_td"></td>
</tr>
<tr id="wifi5_2_clients_tr" style="display:none;">
<th>Wireless clients (5 GHz-2)</th>
<th>Wireless Clients (5 GHz-2)</th>
<td id="wlc_52_td"></td>
</tr>
<tr id="wifi5_clients_tr_qtn" style="display:none;">
<th>Wireless clients (5 GHz)</th>
<th>Wireless Clients (5 GHz)</th>
<td id="wlc_5qtn_td"></td>
</tr>
</table>

0 comments on commit 8ceff0c

Please sign in to comment.