From 6a7427f6cda5ac694b4cfdcb744d3f78187e1e7a Mon Sep 17 00:00:00 2001 From: Anna Date: Mon, 26 Mar 2018 22:23:45 +0300 Subject: [PATCH] upd --- static/rbmd/script.js | 10 +++++----- templates/rbmd/index.html | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) 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 @@