summaryrefslogtreecommitdiff
path: root/web/share/js/kvm/atx.js
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-04-25 00:18:10 +0300
committerDevaev Maxim <[email protected]>2019-04-25 00:18:10 +0300
commit73bfd715e3d83b777530252ef06e6fad702dd036 (patch)
treecfd9b297a7d8883022c65224e1ca2bd04598f971 /web/share/js/kvm/atx.js
parent3d64401b111d863072c74e81e49de68885c0e084 (diff)
refactoring
Diffstat (limited to 'web/share/js/kvm/atx.js')
-rw-r--r--web/share/js/kvm/atx.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/share/js/kvm/atx.js b/web/share/js/kvm/atx.js
index c649ae4e..b0da761e 100644
--- a/web/share/js/kvm/atx.js
+++ b/web/share/js/kvm/atx.js
@@ -56,7 +56,7 @@ function Atx() {
var __clickButton = function(button, confirm_msg) {
wm.confirm(confirm_msg).then(function(ok) {
if (ok) {
- var http = tools.makeRequest("POST", "/kvmd/atx/click?button=" + button, function() {
+ let http = tools.makeRequest("POST", "/kvmd/atx/click?button=" + button, function() {
if (http.readyState === 4) {
if (http.status === 409) {
wm.error("Performing another ATX operation for other client.<br>Please try again later");