From 7067e174c27a1fe9b23d13806f1e52ce9bc2aaee Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Sun, 26 Feb 2017 12:29:33 +0545 Subject: Fix #7317 Widget Filter All button --- src/usr/local/www/widgets/widgets/dyn_dns_status.widget.php | 2 +- src/usr/local/www/widgets/widgets/gateways.widget.php | 2 +- src/usr/local/www/widgets/widgets/interface_statistics.widget.php | 2 +- src/usr/local/www/widgets/widgets/interfaces.widget.php | 2 +- src/usr/local/www/widgets/widgets/openvpn.widget.php | 2 +- src/usr/local/www/widgets/widgets/services_status.widget.php | 2 +- src/usr/local/www/widgets/widgets/smart_status.widget.php | 2 +- src/usr/local/www/widgets/widgets/system_information.widget.php | 2 +- src/usr/local/www/widgets/widgets/wake_on_lan.widget.php | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) (limited to 'src/usr/local/www') 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-_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-_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-_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; //_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-_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) { //_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) { //_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-_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'])) { //_panel-footer [id^=show]").each(function() { $(this).prop("checked", true); }); }); -- cgit v1.1