summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-01-01 03:11:04 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-01-01 03:11:04 +0000
commit876bb30f50d10187e547df2eed3de27285ac1d54 (patch)
treea4a10c37b5bd3f2d8610bcf459ddbd94d3d34084 /usr
parent97746f83c8ab55202d22f05fdb2425d43763ca4d (diff)
downloadpfsense-876bb30f50d10187e547df2eed3de27285ac1d54.zip
pfsense-876bb30f50d10187e547df2eed3de27285ac1d54.tar.gz
Do not process undefined items
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/javascript/index/sajax.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/javascript/index/sajax.js b/usr/local/www/javascript/index/sajax.js
index e69a633..5df9fb2 100644
--- a/usr/local/www/javascript/index/sajax.js
+++ b/usr/local/www/javascript/index/sajax.js
@@ -14,6 +14,9 @@ function stats(x) {
var values = x.split("|");
+ if(values[0] == 'undefined')
+ return;
+
updateCPU(values[0]);
updateMemory(values[1]);
updateUptime(values[2]);
OpenPOWER on IntegriCloud