fix secondary cc overflow thx Trip
This commit is contained in:
parent
f212d1b6ff
commit
db9e7db946
|
@ -484,14 +484,17 @@ function trunk_detail(d) { // d json_type = trunk_update
|
||||||
html += '</td>';
|
html += '</td>';
|
||||||
|
|
||||||
// 2, 3, 4
|
// 2, 3, 4
|
||||||
html += '<td colspan="3" align="center">';
|
scc = '';
|
||||||
|
for (i = 0; i < d[nac]['secondary'].length; i++) {
|
||||||
|
scc += freqDisplay(d[nac]['secondary'][i] / 1000000);
|
||||||
|
scc += ' ';
|
||||||
|
}
|
||||||
|
|
||||||
|
html += '<td title="' + scc + '" colspan="3" align="center" style="max-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;">';
|
||||||
|
|
||||||
if (d[nac]['secondary'].length) {
|
if (d[nac]['secondary'].length) {
|
||||||
html += 'Secondary Control Channels</span><br><span class="value"> ';
|
html += 'Secondary Control Channels</span><br><span class="value"> ';
|
||||||
for (i = 0; i < d[nac]['secondary'].length; i++) {
|
html += scc;
|
||||||
html += freqDisplay(d[nac]['secondary'][i] / 1000000);
|
|
||||||
html += ' ';
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
html += '<span class="value">None';
|
html += '<span class="value">None';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue