@@ -67,7 +71,7 @@
--
= lang('Presence_Shortcut_NewDevices');?>
-
+
diff --git a/front/report.php b/front/report.php
index 65a17ccc..c12f881f 100755
--- a/front/report.php
+++ b/front/report.php
@@ -5,6 +5,10 @@
?>
+
+
@@ -119,6 +123,9 @@
})
.catch(error => {
console.error('Error:', error);
+ })
+ .finally(() => {
+ hideSpinner(); // always called, even if error occurred
});
}
diff --git a/front/systeminfo.php b/front/systeminfo.php
index 096dd57e..e26f1fc8 100755
--- a/front/systeminfo.php
+++ b/front/systeminfo.php
@@ -17,6 +17,12 @@
+
+
@@ -574,26 +580,19 @@ echo '
';
-
-
-
diff --git a/front/userNotifications.php b/front/userNotifications.php
index 17c8a548..48821a75 100755
--- a/front/userNotifications.php
+++ b/front/userNotifications.php
@@ -9,6 +9,9 @@ require 'php/templates/header.php';
+
@@ -160,7 +163,10 @@ require 'php/templates/header.php';
],
"order": [[0, "desc"]]
- });
+ ,
+ initComplete: function(settings, json) {
+ hideSpinner(); // Called after the DataTable is fully initialized
+ }});
fetchData(function(data) {
table.clear().rows.add(data).draw();
diff --git a/front/workflowsCore.php b/front/workflowsCore.php
index 95a7d834..32a25967 100755
--- a/front/workflowsCore.php
+++ b/front/workflowsCore.php
@@ -4,6 +4,10 @@
require_once $_SERVER['DOCUMENT_ROOT'] . '/php/templates/security.php';
?>
+
+
@@ -83,8 +87,6 @@ let emptyWorkflow = {
// Retrieve and process the data
function getData() {
- showSpinner();
-
getSetting()
$.get('php/server/query_json.php?file=workflows.json')