From 73bfd715e3d83b777530252ef06e6fad702dd036 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Thu, 25 Apr 2019 00:18:10 +0300 Subject: refactoring --- web/share/js/kvm/atx.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/share/js/kvm/atx.js') 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.
Please try again later"); -- cgit v1.2.3