summaryrefslogtreecommitdiffstats
path: root/usr/local/www/javascript/index
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-01-06 21:04:31 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-01-06 21:04:31 +0000
commit4cb423d5c1a3c67b377eddc9b30e5f2c04426f34 (patch)
tree1fec468ac630ecb165322dff511cce8fdf99f5df /usr/local/www/javascript/index
parent55bade0b337005faf66999dd0b35024385c0817f (diff)
downloadpfsense-4cb423d5c1a3c67b377eddc9b30e5f2c04426f34.zip
pfsense-4cb423d5c1a3c67b377eddc9b30e5f2c04426f34.tar.gz
Der, this is JS, not PHP.
Diffstat (limited to 'usr/local/www/javascript/index')
-rw-r--r--usr/local/www/javascript/index/sajax.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/javascript/index/sajax.js b/usr/local/www/javascript/index/sajax.js
index 1ab0e80..2437e09 100644
--- a/usr/local/www/javascript/index/sajax.js
+++ b/usr/local/www/javascript/index/sajax.js
@@ -14,8 +14,8 @@ function stats(x) {
var values = x.split("|");
- foreach($values as $value)
- if(value == 'undefined')
+ for(var val in values)
+ if(val == 'undefined')
return;
updateCPU(values[0]);
OpenPOWER on IntegriCloud