diff options
author | Phil Davis <phil.davis@inf.org> | 2015-06-23 11:38:53 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2015-06-23 11:38:53 +0545 |
commit | 6538d33af88902748964c35133b0436f8594023f (patch) | |
tree | 5bd9c92f1c67b020a8184100db95fc69f0b83ab5 /usr/local/www | |
parent | 3d0391f1d843a04ae1072440c8e38bbf392cb4c6 (diff) | |
download | pfsense-6538d33af88902748964c35133b0436f8594023f.zip pfsense-6538d33af88902748964c35133b0436f8594023f.tar.gz |
GW widget input form name-id needs to be unique
among all widget forms.
Traffic Graphs widget already uses the vanilla name "iform". Reusing that name causes Traffic Graphs widget graph display state (show/hide) not to be saved if GW widget was also displayed on the dashboard.
This fixes it.
Diffstat (limited to 'usr/local/www')
-rw-r--r-- | usr/local/www/widgets/widgets/gateways.widget.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/widgets/widgets/gateways.widget.php b/usr/local/www/widgets/widgets/gateways.widget.php index f4ef051..26a6f4d 100644 --- a/usr/local/www/widgets/widgets/gateways.widget.php +++ b/usr/local/www/widgets/widgets/gateways.widget.php @@ -66,7 +66,7 @@ $counter = 1; <input type="hidden" id="gateways-config" name="gateways-config" value="" /> <div id="gateways-settings" class="widgetconfigdiv" style="display:none;"> -<form action="/widgets/widgets/gateways.widget.php" method="post" name="iform" id="iform"> +<form action="/widgets/widgets/gateways.widget.php" method="post" name="gateways_widget_iform" id="gateways_widget_iform"> Display: <?php $display_type_gw_ip="checked=\"checked\""; |