diff options
author | Devaev Maxim <[email protected]> | 2018-11-24 06:30:08 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-11-24 06:30:08 +0300 |
commit | c168e738057cae115be552e8cf22f500fb5ed0f8 (patch) | |
tree | f4fbb3180d77069d5ff688bf6403ea5535e007b9 /web/js/kvm/msd.js | |
parent | d060125cd3a146b9817aec4cbc8705da91cf5139 (diff) |
removed loadInitialState()
Diffstat (limited to 'web/js/kvm/msd.js')
-rw-r--r-- | web/js/kvm/msd.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/web/js/kvm/msd.js b/web/js/kvm/msd.js index c59563b7..057dec5b 100644 --- a/web/js/kvm/msd.js +++ b/web/js/kvm/msd.js @@ -24,18 +24,6 @@ function Msd() { /********************************************************************************/ - self.loadInitialState = function() { - var http = tools.makeRequest("GET", "/kvmd/msd", function() { - if (http.readyState === 4) { - if (http.status === 200) { - self.setState(JSON.parse(http.responseText).result); - } else { - setTimeout(self.loadInitialState, 1000); - } - } - }); - }; - self.setState = function(state) { __state = state; __applyState(); |