diff options
author | Phil Davis <phil.davis@inf.org> | 2017-02-26 12:29:33 +0545 |
---|---|---|
committer | Steve Beaver <sbeaver@netgate.com> | 2017-02-26 21:49:18 -0500 |
commit | 7067e174c27a1fe9b23d13806f1e52ce9bc2aaee (patch) | |
tree | 8167a85f6fba9ca35504ff37ec7dd50ae92825ba /src/usr/local/www | |
parent | 1e7aedce37a5afc62dddc3395b0f15ba8252cb89 (diff) | |
download | pfsense-7067e174c27a1fe9b23d13806f1e52ce9bc2aaee.zip pfsense-7067e174c27a1fe9b23d13806f1e52ce9bc2aaee.tar.gz |
Fix #7317 Widget Filter All button
Diffstat (limited to 'src/usr/local/www')
9 files changed, 9 insertions, 9 deletions
diff --git a/src/usr/local/www/widgets/widgets/dyn_dns_status.widget.php b/src/usr/local/www/widgets/widgets/dyn_dns_status.widget.php index 841620b..15f6952 100644 --- a/src/usr/local/www/widgets/widgets/dyn_dns_status.widget.php +++ b/src/usr/local/www/widgets/widgets/dyn_dns_status.widget.php @@ -279,7 +279,7 @@ function get_dyndns_service_text($dyndns_type) { } events.push(function(){ $("#showalldyndns").click(function() { - $("[id^=show]").each(function() { + $("#widget-<?=$widgetname?>_panel-footer [id^=show]").each(function() { $(this).prop("checked", true); }); }); diff --git a/src/usr/local/www/widgets/widgets/gateways.widget.php b/src/usr/local/www/widgets/widgets/gateways.widget.php index c854df5..d414a5e 100644 --- a/src/usr/local/www/widgets/widgets/gateways.widget.php +++ b/src/usr/local/www/widgets/widgets/gateways.widget.php @@ -189,7 +189,7 @@ $widgetperiod = isset($config['widgets']['period']) ? $config['widgets']['period events.push(function(){ $("#showallgateways").click(function() { - $("[id^=show]").each(function() { + $("#widget-<?=$widgetname?>_panel-footer [id^=show]").each(function() { $(this).prop("checked", true); }); }); diff --git a/src/usr/local/www/widgets/widgets/interface_statistics.widget.php b/src/usr/local/www/widgets/widgets/interface_statistics.widget.php index 5c389af..bb10731 100644 --- a/src/usr/local/www/widgets/widgets/interface_statistics.widget.php +++ b/src/usr/local/www/widgets/widgets/interface_statistics.widget.php @@ -180,7 +180,7 @@ $widgetperiod = isset($config['widgets']['period']) ? $config['widgets']['period events.push(function(){ $("#showallinterfacesforstats").click(function() { - $("[id^=show]").each(function() { + $("#widget-<?=$widgetname?>_panel-footer [id^=show]").each(function() { $(this).prop("checked", true); }); }); diff --git a/src/usr/local/www/widgets/widgets/interfaces.widget.php b/src/usr/local/www/widgets/widgets/interfaces.widget.php index 41dc871..1a599cc 100644 --- a/src/usr/local/www/widgets/widgets/interfaces.widget.php +++ b/src/usr/local/www/widgets/widgets/interfaces.widget.php @@ -173,7 +173,7 @@ endforeach; //<![CDATA[ events.push(function(){ $("#showallinterfaces").click(function() { - $("[id^=show]").each(function() { + $("#widget-<?=$widgetname?>_panel-footer [id^=show]").each(function() { $(this).prop("checked", true); }); }); diff --git a/src/usr/local/www/widgets/widgets/openvpn.widget.php b/src/usr/local/www/widgets/widgets/openvpn.widget.php index 1cc642a..a3ad6e4 100644 --- a/src/usr/local/www/widgets/widgets/openvpn.widget.php +++ b/src/usr/local/www/widgets/widgets/openvpn.widget.php @@ -354,7 +354,7 @@ $widgetperiod = isset($config['widgets']['period']) ? $config['widgets']['period events.push(function(){ $("#showallovpns").click(function() { - $("[id^=show]").each(function() { + $("#widget-<?=$widgetname?>_panel-footer [id^=show]").each(function() { $(this).prop("checked", true); }); }); diff --git a/src/usr/local/www/widgets/widgets/services_status.widget.php b/src/usr/local/www/widgets/widgets/services_status.widget.php index e5c0347..4672b2e 100644 --- a/src/usr/local/www/widgets/widgets/services_status.widget.php +++ b/src/usr/local/www/widgets/widgets/services_status.widget.php @@ -158,7 +158,7 @@ if (count($services) > 0) { //<![CDATA[ events.push(function(){ $("#showallservices").click(function() { - $("[id^=show]").each(function() { + $("#widget-<?=$widgetname?>_panel-footer [id^=show]").each(function() { $(this).prop("checked", true); }); }); diff --git a/src/usr/local/www/widgets/widgets/smart_status.widget.php b/src/usr/local/www/widgets/widgets/smart_status.widget.php index 741b164..eae61c7 100644 --- a/src/usr/local/www/widgets/widgets/smart_status.widget.php +++ b/src/usr/local/www/widgets/widgets/smart_status.widget.php @@ -151,7 +151,7 @@ if (count($devs) > 0) { //<![CDATA[ events.push(function(){ $("#showallsmartdrives").click(function() { - $("[id^=show]").each(function() { + $("#widget-<?=$widgetname?>_panel-footer [id^=show]").each(function() { $(this).prop("checked", true); }); }); 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 ce0a2c5..e55d611 100644 --- a/src/usr/local/www/widgets/widgets/system_information.widget.php +++ b/src/usr/local/www/widgets/widgets/system_information.widget.php @@ -461,7 +461,7 @@ function updateMeters() { events.push(function(){ $("#showallsysinfoitems").click(function() { - $("[id^=show]").each(function() { + $("#widget-<?=$widgetname?>_panel-footer [id^=show]").each(function() { $(this).prop("checked", true); }); }); diff --git a/src/usr/local/www/widgets/widgets/wake_on_lan.widget.php b/src/usr/local/www/widgets/widgets/wake_on_lan.widget.php index 45dca05..3d528f4 100644 --- a/src/usr/local/www/widgets/widgets/wake_on_lan.widget.php +++ b/src/usr/local/www/widgets/widgets/wake_on_lan.widget.php @@ -174,7 +174,7 @@ if (is_array($config['dhcpd'])) { //<![CDATA[ events.push(function(){ $("#showallwols").click(function() { - $("[id^=show]").each(function() { + $("#widget-<?=$widgetname?>_panel-footer [id^=show]").each(function() { $(this).prop("checked", true); }); }); |