summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/widgets
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2016-01-15 15:31:45 -0500
committerStephen Beaver <sbeaver@netgate.com>2016-01-15 15:31:45 -0500
commitba23527b3449cdf5a192574b3a1aaf05c7fef8c8 (patch)
tree259253514f63c1d2bb594244789758aa1276752f /src/usr/local/www/widgets
parent692b5e028b05035ae4e19d7b1c528adc2c8ab908 (diff)
downloadpfsense-ba23527b3449cdf5a192574b3a1aaf05c7fef8c8.zip
pfsense-ba23527b3449cdf5a192574b3a1aaf05c7fef8c8.tar.gz
Fix graph scale setting
Diffstat (limited to 'src/usr/local/www/widgets')
-rw-r--r--src/usr/local/www/widgets/widgets/traffic_graphs.widget.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/widgets/widgets/traffic_graphs.widget.php b/src/usr/local/www/widgets/widgets/traffic_graphs.widget.php
index 2360fc5..dbcedf8 100644
--- a/src/usr/local/www/widgets/widgets/traffic_graphs.widget.php
+++ b/src/usr/local/www/widgets/widgets/traffic_graphs.widget.php
@@ -176,11 +176,11 @@ foreach ($ifdescrs as $ifname => $ifdescr):
<label for="scale_type_up" class="col-sm-3 control-label">Default Autoscale</label>
<div class="col-sm-6 checkbox">
<label>
- <input name="scale_type" type="radio" id="scale_type_up" value="up" <?=($config["widgets"]["trafficgraphs"]["scale_type"]=="follow" ? '' : 'checked')?> />
+ <input name="scale_type" type="radio" id="scale_type_up" value="up" <?=($config["widgets"]["trafficgraphs"]["scale_type"]=="up" ? '' : 'checked')?> />
up
</label>
<label>
- <input name="scale_type" type="radio" id="scale_type_follow" value="up" <?=($config["widgets"]["trafficgraphs"]["scale_type"]=="follow" ? 'checked' : '')?> />
+ <input name="scale_type" type="radio" id="scale_type_follow" value="follow" <?=($config["widgets"]["trafficgraphs"]["scale_type"]=="follow" ? 'checked' : '')?> />
follow
</label>
</div>
OpenPOWER on IntegriCloud