summaryrefslogtreecommitdiffstats
path: root/modules-available/systemstatus/templates
diff options
context:
space:
mode:
authorSimon Rettberg2025-05-08 18:19:28 +0200
committerSimon Rettberg2025-05-08 18:19:28 +0200
commitbcd2fd613ec7a29b05ab90dc4739e974c2060811 (patch)
tree73ca733cf13e61c993ed7c639b008f418106e5a6 /modules-available/systemstatus/templates
parentindex.php: Add comment to hostname redirect check stuff (diff)
downloadslx-admin-bcd2fd613ec7a29b05ab90dc4739e974c2060811.tar.gz
slx-admin-bcd2fd613ec7a29b05ab90dc4739e974c2060811.tar.xz
slx-admin-bcd2fd613ec7a29b05ab90dc4739e974c2060811.zip
Change non-modifying AJAX requests from POST to GET
Diffstat (limited to 'modules-available/systemstatus/templates')
-rw-r--r--modules-available/systemstatus/templates/systeminfo.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/systemstatus/templates/systeminfo.html b/modules-available/systemstatus/templates/systeminfo.html
index 2489bcaa..3cb19861 100644
--- a/modules-available/systemstatus/templates/systeminfo.html
+++ b/modules-available/systemstatus/templates/systeminfo.html
@@ -117,7 +117,7 @@
setTimeout(updateSystem, 2500);
return;
}
- $.post('?do=SystemStatus&action=SysPoll', {token: TOKEN}, function (data) {
+ $.get('?do=SystemStatus&action=SysPoll', function (data) {
if (memCircle && data.MemPercent) memCircle.update(data.MemPercent);
if (swapCircle && data.SwapPercent) swapCircle.update(data.SwapPercent);
if (cpuCircle && data.CpuIdle) {