From 1927243487a2d937d7474c4e881e3c35b863f7e9 Mon Sep 17 00:00:00 2001 From: Stephen Beaver Date: Thu, 8 Oct 2015 17:58:54 -0400 Subject: Fixed % sign in mbuf --- src/usr/local/www/widgets/widgets/system_information.widget.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/usr/local/www') diff --git a/src/usr/local/www/widgets/widgets/system_information.widget.php b/src/usr/local/www/widgets/widgets/system_information.widget.php index 8402fdb..8ef7653 100644 --- a/src/usr/local/www/widgets/widgets/system_information.widget.php +++ b/src/usr/local/www/widgets/widgets/system_information.widget.php @@ -409,13 +409,13 @@ function updateMbuf(x) { function updateMbufMeter(x) { if(jQuery('#mbufusagemeter')) - jQuery("#mbufusagemeter").html(x); + jQuery("#mbufusagemeter").html(x + '%'); if(jQuery('#mbufPB')) setProgress('mbufPB', parseInt(x)); } function updateCPU(x) { - x = 33; + if(jQuery('#cpumeter')) jQuery("#cpumeter").html(x + '%'); if(jQuery('#cpuPB')) -- cgit v1.1