This commit is contained in:
Anna Sudnitsina 2018-03-26 22:27:01 +03:00
parent 02e74ec082
commit e4fcc0ea00

View File

@ -85,11 +85,11 @@
</body>
<script>
var ws = new WebSocket('{{escape(ws)}}');
var cluster, selected_node, deadNode, node2;
var a, selected_node, deadNode, node2;
ws.onopen = function() {ws.send(""); };
ws.onmessage = function (evt) {
cluster = JSON.parse(evt.data);
displayData(cluster);
a = JSON.parse(evt.data);
displayData(a);
};
//
// $('#mountForm').submit(function(event){