diff options
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(); |