diff options
author | Maxim Devaev <[email protected]> | 2024-09-22 22:14:36 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2024-09-23 02:32:23 +0300 |
commit | 5ed368769c889628ebae896556e5c6401cbafdaf (patch) | |
tree | ecaa45df14240683a14308a158761b5ac3cc3139 /web/share/js/kvm/atx.js | |
parent | 1217144ecd476e28cfe43d7454a5224aa7fe7b7a (diff) |
refactoring
Diffstat (limited to 'web/share/js/kvm/atx.js')
-rw-r--r-- | web/share/js/kvm/atx.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/share/js/kvm/atx.js b/web/share/js/kvm/atx.js index 53c290cf..2a0e38f9 100644 --- a/web/share/js/kvm/atx.js +++ b/web/share/js/kvm/atx.js @@ -73,7 +73,7 @@ export function Atx(__recorder) { var __clickButton = function(button, confirm_msg) { let click_button = function() { - tools.httpPost(`/api/atx/click?button=${button}`, function(http) { + tools.httpPost("/api/atx/click", {"button": button}, function(http) { if (http.status === 409) { wm.error("Performing another ATX operation for other client.<br>Please try again later"); } else if (http.status !== 200) { |