diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-01-01 03:11:04 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-01-01 03:11:04 +0000 |
commit | 876bb30f50d10187e547df2eed3de27285ac1d54 (patch) | |
tree | a4a10c37b5bd3f2d8610bcf459ddbd94d3d34084 /usr | |
parent | 97746f83c8ab55202d22f05fdb2425d43763ca4d (diff) | |
download | pfsense-876bb30f50d10187e547df2eed3de27285ac1d54.zip pfsense-876bb30f50d10187e547df2eed3de27285ac1d54.tar.gz |
Do not process undefined items
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/javascript/index/sajax.js | 3 |
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]); |