summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/widgets/widgets/wake_on_lan.widget.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/widgets/widgets/wake_on_lan.widget.php')
-rw-r--r--src/usr/local/www/widgets/widgets/wake_on_lan.widget.php7
1 files changed, 1 insertions, 6 deletions
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 21e7efe..e650114 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
@@ -217,12 +217,7 @@ if (is_array($config['dhcpd'])) {
<script>
//<![CDATA[
events.push(function(){
- $("#showallwols").click(function() {
- $("#widget-<?=$widgetname?>_panel-footer [id^=show]").each(function() {
- $(this).prop("checked", true);
- });
- });
-
+ set_widget_checkbox_events("#widget-<?=$widgetname?>_panel-footer [id^=show]", "showallwols");
});
//]]>
</script>
OpenPOWER on IntegriCloud