1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

B #1630: Enable Sunstone VM Log Scrollbar at the end of the file (#1695)

This commit is contained in:
Abel Coronado 2018-01-30 16:01:13 +01:00 committed by Tino Vázquez
parent 9c1cde002c
commit 43c68d463d

View File

@ -93,7 +93,7 @@ define(function(require) {
colored_log +
"</div>" +
"</div>");
$(".vm_log_container", context).animate({scrollTop:"500px"}, "slow");
$(".vm_log_container", context).animate({scrollTop: $('.vm_log_container').prop("scrollHeight")}, "slow");
},
error: function(request, error_json) {