diff --git a/static/rbmd/script.js b/static/rbmd/script.js index 239dad6..d9b65c8 100644 --- a/static/rbmd/script.js +++ b/static/rbmd/script.js @@ -21,11 +21,11 @@ $(function() { // var ws = new WebSocket('{{escape(ws)}}'); var cluster, selected_node, deadNode, node2; - ws.onopen = function() {ws.send(""); }; - ws.onmessage = function (evt) { - cluster = JSON.parse(evt.data); - displayData(cluster); - }; + // ws.onopen = function() {ws.send(""); }; + // ws.onmessage = function (evt) { + // cluster = JSON.parse(evt.data); + // displayData(cluster); + // }; $('#mountForm').submit(function(event){ event.preventDefault(); diff --git a/templates/rbmd/index.html b/templates/rbmd/index.html index fe14282..712340b 100644 --- a/templates/rbmd/index.html +++ b/templates/rbmd/index.html @@ -86,11 +86,11 @@