diff options
Diffstat (limited to 'web/js/kvm/atx.js')
-rw-r--r-- | web/js/kvm/atx.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/web/js/kvm/atx.js b/web/js/kvm/atx.js index b75b901b..e4f591d5 100644 --- a/web/js/kvm/atx.js +++ b/web/js/kvm/atx.js @@ -14,18 +14,6 @@ function Atx() { /********************************************************************************/ - self.loadInitialState = function() { - var http = tools.makeRequest("GET", "/kvmd/atx", function() { - if (http.readyState === 4) { - if (http.status === 200) { - __setButtonsBusy(JSON.parse(http.responseText).result.busy); - } else { - setTimeout(self.loadInitialState, 1000); - } - } - }); - }; - self.setState = function(state) { __setButtonsBusy(state.busy); $("atx-power-led").className = (state.leds.power ? "led-green" : "led-gray"); |