upd
This commit is contained in:
parent
af79df461b
commit
02e74ec082
@ -20,7 +20,7 @@ $(function() {
|
||||
$('.tablink').css('display', 'block')
|
||||
|
||||
// var ws = new WebSocket('{{escape(ws)}}');
|
||||
var cluster, selected_node, deadNode, node2;
|
||||
// var cluster, selected_node, deadNode, node2;
|
||||
// ws.onopen = function() {ws.send(""); };
|
||||
// ws.onmessage = function (evt) {
|
||||
// cluster = JSON.parse(evt.data);
|
||||
|
@ -85,8 +85,7 @@
|
||||
</body>
|
||||
<script>
|
||||
var ws = new WebSocket('{{escape(ws)}}');
|
||||
var cluster;
|
||||
// var cluster, selected_node, deadNode, node2;
|
||||
var cluster, selected_node, deadNode, node2;
|
||||
ws.onopen = function() {ws.send(""); };
|
||||
ws.onmessage = function (evt) {
|
||||
cluster = JSON.parse(evt.data);
|
||||
|
Loading…
Reference in New Issue
Block a user