diff options
| author | Simon Rettberg | 2025-05-08 18:19:28 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2025-05-08 18:19:28 +0200 |
| commit | bcd2fd613ec7a29b05ab90dc4739e974c2060811 (patch) | |
| tree | 73ca733cf13e61c993ed7c639b008f418106e5a6 /modules-available/dnbd3 | |
| parent | index.php: Add comment to hostname redirect check stuff (diff) | |
| download | slx-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/dnbd3')
| -rw-r--r-- | modules-available/dnbd3/templates/page-serverlist.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/dnbd3/templates/page-serverlist.html b/modules-available/dnbd3/templates/page-serverlist.html index bcb0d766..9ac2d9ec 100644 --- a/modules-available/dnbd3/templates/page-serverlist.html +++ b/modules-available/dnbd3/templates/page-serverlist.html @@ -482,7 +482,7 @@ document.addEventListener('DOMContentLoaded', function () { } inactiveCount = 0; } - $.ajax('?do=dnbd3&action=stats').done(function(elist) { + $.get('?do=dnbd3&action=stats').done(function(elist) { var speedSum = 0; for (var k in elist) { var e = elist[k]; @@ -571,4 +571,4 @@ document.addEventListener('DOMContentLoaded', function () { }; }); -//--></script>
\ No newline at end of file +//--></script> |
