From a2d302c5d594db57c7e4483f431fc7b0419c3aa5 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Sat, 14 Dec 2019 19:25:24 +0100 Subject: [PATCH] jQuery compatibility fixes --- dns/dyndns/src/www/widgets/widgets/dyn_dns_status.widget.php | 2 +- dns/rfc2136/src/www/widgets/widgets/rfc2136.widget.php | 2 +- .../src/www/widgets/widgets/proofpoint_et.widget.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dns/dyndns/src/www/widgets/widgets/dyn_dns_status.widget.php b/dns/dyndns/src/www/widgets/widgets/dyn_dns_status.widget.php index 16346d781..167d90ba1 100644 --- a/dns/dyndns/src/www/widgets/widgets/dyn_dns_status.widget.php +++ b/dns/dyndns/src/www/widgets/widgets/dyn_dns_status.widget.php @@ -156,7 +156,7 @@ if (!empty($_REQUEST['getdyndnsstatus'])) { jQuery(divlabel).prop('innerHTML',responseStrings[count]); } } - $(window).load(function() { + $(window).on("load", function() { // Do the first status check 2 seconds after the dashboard opens setTimeout('dyndns_getstatus()', 2000); }); diff --git a/dns/rfc2136/src/www/widgets/widgets/rfc2136.widget.php b/dns/rfc2136/src/www/widgets/widgets/rfc2136.widget.php index 76131e127..3dc9a58cc 100644 --- a/dns/rfc2136/src/www/widgets/widgets/rfc2136.widget.php +++ b/dns/rfc2136/src/www/widgets/widgets/rfc2136.widget.php @@ -149,7 +149,7 @@ if (!empty($_REQUEST['getrfc2136status'])) { jQuery(divlabel).prop('innerHTML',responseStrings[count]); } } - $(window).load(function() { + $(window).on("load", function() { // Do the first status check 2 seconds after the dashboard opens setTimeout('rfc2136_getstatus()', 2000); }); diff --git a/security/etpro-telemetry/src/www/widgets/widgets/proofpoint_et.widget.php b/security/etpro-telemetry/src/www/widgets/widgets/proofpoint_et.widget.php index 54ec9fbbc..a7844286c 100644 --- a/security/etpro-telemetry/src/www/widgets/widgets/proofpoint_et.widget.php +++ b/security/etpro-telemetry/src/www/widgets/widgets/proofpoint_et.widget.php @@ -36,7 +36,7 @@