From 6a71611f9b13fb33afe5d71fae0e483dcc4ded42 Mon Sep 17 00:00:00 2001 From: jim-p Date: Thu, 7 Oct 2010 09:30:24 -0400 Subject: [PATCH] Remove unnecessary variable and fix loop test. Corrects AJAX update of last gateway status table cell (it was never updated before) --- usr/local/www/javascript/index/ajax.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/usr/local/www/javascript/index/ajax.js b/usr/local/www/javascript/index/ajax.js index 3259955ec9..b18e12f6bd 100644 --- a/usr/local/www/javascript/index/ajax.js +++ b/usr/local/www/javascript/index/ajax.js @@ -88,11 +88,9 @@ function updateState(x) { function updateGatewayStats(x){ if (widgetActive("gateways")){ gateways_split = x.split(","); - var counter = 1; - for (var y=0; y