diff options
Diffstat (limited to 'src/usr/local/www/widgets')
8 files changed, 8 insertions, 8 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 27ee09d..adfec2f 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 @@ -311,7 +311,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/interface_statistics.widget.php b/src/usr/local/www/widgets/widgets/interface_statistics.widget.php index be27757..b5368fa 100644 --- a/src/usr/local/www/widgets/widgets/interface_statistics.widget.php +++ b/src/usr/local/www/widgets/widgets/interface_statistics.widget.php @@ -212,7 +212,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 00121a0..5cc0503 100644 --- a/src/usr/local/www/widgets/widgets/interfaces.widget.php +++ b/src/usr/local/www/widgets/widgets/interfaces.widget.php @@ -205,7 +205,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 3a70041..5704822 100644 --- a/src/usr/local/www/widgets/widgets/openvpn.widget.php +++ b/src/usr/local/www/widgets/widgets/openvpn.widget.php @@ -374,7 +374,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 e856987..49f1f42 100644 --- a/src/usr/local/www/widgets/widgets/smart_status.widget.php +++ b/src/usr/local/www/widgets/widgets/smart_status.widget.php @@ -183,7 +183,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 9e0dd82..bcfe449 100644 --- a/src/usr/local/www/widgets/widgets/system_information.widget.php +++ b/src/usr/local/www/widgets/widgets/system_information.widget.php @@ -527,7 +527,7 @@ function updateMeters() { <?php if (!isset($config['system']['firmware']['disablecheck'])): ?> 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 bf8118d..b4d22de 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 @@ -206,7 +206,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); }); }); |