stats successfully transfered
This commit is contained in:
@@ -646,6 +646,10 @@ function details(name) {
|
||||
showviz(docker.containers.subgraph(focused));
|
||||
}
|
||||
|
||||
function stats(data) {
|
||||
console.log("->rcv stats")
|
||||
}
|
||||
|
||||
function images(i) {
|
||||
console.log("->rcv images");
|
||||
docker.images.set(i);
|
||||
@@ -781,7 +785,7 @@ function bash_data(data) {
|
||||
$("#screen").append('<span class="'+data.type+'">'+ansifilter(htmlenc(data.text))+'</span>');
|
||||
}
|
||||
$("#screen").animate({
|
||||
scrollTop: $("#screen").scrollHeight()
|
||||
scrollTop: $("#screen").prop('scrollHeight')
|
||||
}, 500);}
|
||||
|
||||
function overview() {
|
||||
@@ -814,6 +818,7 @@ function init() {
|
||||
.on("fail", error)
|
||||
.on("containers", containers)
|
||||
.on("images", images)
|
||||
.on("stats", stats)
|
||||
.on("logs", logs)
|
||||
.on("bash-data", bash_data);
|
||||
start();
|
||||
|
Reference in New Issue
Block a user