upd
This commit is contained in:
parent
79f0671e1d
commit
2e1d5835cc
@ -1,4 +1,15 @@
|
||||
$(function() {
|
||||
var url = "ws://" + location.host + "/socket";
|
||||
var ws = new WebSocket(url);
|
||||
var a, selected_node, deadNode, node2;
|
||||
ws.onopen = function() {ws.send(""); };
|
||||
ws.onmessage = function (evt) {
|
||||
a = JSON.parse(evt.data);
|
||||
displayData(a);
|
||||
};
|
||||
$('.tablink').css('display', 'block');
|
||||
|
||||
|
||||
$('#mountFormTrigger').click(function(event){
|
||||
var htmlSelect = '';
|
||||
a.quorum.forEach(function(item) {
|
||||
@ -16,15 +27,7 @@ $(function() {
|
||||
}
|
||||
})
|
||||
*/
|
||||
var url = "ws://" + location.host + "/socket";
|
||||
var ws = new WebSocket(url);
|
||||
var a, selected_node, deadNode, node2;
|
||||
ws.onopen = function() {ws.send(""); };
|
||||
ws.onmessage = function (evt) {
|
||||
a = JSON.parse(evt.data);
|
||||
displayData(a);
|
||||
};
|
||||
$('.tablink').css('display', 'block');
|
||||
|
||||
})
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user