trafficcontrol-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From neu...@apache.org
Subject [05/10] incubator-trafficcontrol git commit: Fix TM2 GUI table header being deleted
Date Fri, 12 May 2017 16:11:33 GMT
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 <robert.o.butts@gmail.com>
Authored: Thu May 11 14:09:38 2017 -0600
Committer: David Neuman <david.neuman64@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);


Mime
View raw message