mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
jQuery compatibility fixes
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
@@ -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);
|
||||
});
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
</style>
|
||||
<script src="/ui/js/moment-with-locales.min.js"></script>
|
||||
<script>
|
||||
$(window).load(function() {
|
||||
$(window).on("load", function() {
|
||||
ajaxGet("/api/diagnostics/proofpoint_et/status", {}, function(data){
|
||||
$("#proofpoint_status").removeClass("fa-spin");
|
||||
$("#proofpoint_status").removeClass("fa-spinner");
|
||||
|
||||
Reference in New Issue
Block a user