diff options
author | Cristian Feldman <vizvayu@gmail.com> | 2012-05-17 22:33:31 -0300 |
---|---|---|
committer | Cristian Feldman <vizvayu@gmail.com> | 2012-05-18 00:53:21 -0300 |
commit | 4dedd18a80ac4f1a9187ddb042deb439710c5e6f (patch) | |
tree | 43750b3b08fe5dc93e40796e6c07a9b27757e730 /usr/local/www/javascript/index | |
parent | 735021f5dbca32e46b04515e0e852dae4d33546f (diff) | |
download | pfsense-4dedd18a80ac4f1a9187ddb042deb439710c5e6f.zip pfsense-4dedd18a80ac4f1a9187ddb042deb439710c5e6f.tar.gz |
System info widget on dashboard now updates CPU Frequency automatically
Diffstat (limited to 'usr/local/www/javascript/index')
-rw-r--r-- | usr/local/www/javascript/index/ajax.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/local/www/javascript/index/ajax.js b/usr/local/www/javascript/index/ajax.js index fffb5c0..eab0119 100644 --- a/usr/local/www/javascript/index/ajax.js +++ b/usr/local/www/javascript/index/ajax.js @@ -41,6 +41,7 @@ function stats(x) { updateInterfaceStats(values[6]); updateInterfaces(values[7]); updateGatewayStats(values[8]); + updateCpuFreq(values[9]); } function updateMemory(x) { @@ -100,6 +101,11 @@ function updateGatewayStats(x){ } } +function updateCpuFreq(x) { + if(jQuery('#cpufreq')) + jQuery("#cpufreq").html(x); +} + function updateInterfaceStats(x){ if (widgetActive("interface_statistics")){ statistics_split = x.split(","); |