You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by ne...@apache.org on 2017/05/12 16:11:33 UTC
[05/10] incubator-trafficcontrol git commit: Fix TM2 GUI table header
being deleted
Fix TM2 GUI table header being deleted
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/4e3567ec
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/4e3567ec
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/4e3567ec
Branch: refs/heads/master
Commit: 4e3567ecdb92e360e5028429dc600b14add009ac
Parents: 4e35ed1
Author: Robert Butts <ro...@gmail.com>
Authored: Thu May 11 14:09:38 2017 -0600
Committer: David Neuman <da...@gmail.com>
Committed: Fri May 12 09:54:32 2017 -0600
----------------------------------------------------------------------
traffic_monitor_golang/traffic_monitor/static/index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/4e3567ec/traffic_monitor_golang/traffic_monitor/static/index.html
----------------------------------------------------------------------
diff --git a/traffic_monitor_golang/traffic_monitor/static/index.html b/traffic_monitor_golang/traffic_monitor/static/index.html
index 7ca7788..2cf45cd 100644
--- a/traffic_monitor_golang/traffic_monitor/static/index.html
+++ b/traffic_monitor_golang/traffic_monitor/static/index.html
@@ -335,7 +335,7 @@ under the License.
}
}
- for (var i = 0, row; row = table.rows[i]; i++) {
+ for (var i = 1, row; row = table.rows[i]; i++) { // start at 1, because row[0] is the header
var server = row.id.replace(/^cache-states-/, '');
if(!(server in jdata)) {
table.deleteRow(i);