mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
This commit is contained in:
commit
5af6f55f9c
|
@ -109,10 +109,16 @@
|
|||
updateServerStatus: function() {
|
||||
console.log(this.dbservers.url);
|
||||
this.dbservers.getStatuses(function(stat, serv) {
|
||||
$("#" + serv.replace(":", "\\:")).attr("class", "dbserver " + stat);
|
||||
var id = serv.replace(":", "\\:"),
|
||||
type;
|
||||
type = $("#" + id).attr("class").split(/\s+/)[1];
|
||||
$("#" + id).attr("class", "dbserver " + type + " " + stat);
|
||||
});
|
||||
this.coordinators.getStatuses(function(stat, serv) {
|
||||
$("#" + serv.replace(":", "\\:")).attr("class", "coordinator " + stat);
|
||||
var id = serv.replace(":", "\\:"),
|
||||
type;
|
||||
type = $("#" + id).attr("class").split(/\s+/)[1];
|
||||
$("#" + id).attr("class", "coordinator " + type + " " + stat);
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue