mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Fix error in hosts-tab
This commit is contained in:
parent
f3b0a5d66f
commit
0e706cf293
@ -974,7 +974,6 @@ function updateHostInfo(request,host){
|
||||
host_list_array = [host_info.TEMPLATE.HOST];
|
||||
} else if (host_info.TEMPLATE.HOST instanceof Array) {
|
||||
$.each(host_info.TEMPLATE.HOST, function(){
|
||||
|
||||
var cpu_bars = generateCPUProgressBar(this, true);
|
||||
var mem_bars = generateMEMProgressBar(this, true);
|
||||
|
||||
@ -985,6 +984,8 @@ function updateHostInfo(request,host){
|
||||
mem_bars.real
|
||||
]);
|
||||
});
|
||||
}
|
||||
|
||||
dataTable_esx_hosts.fnAddData(host_list_array);
|
||||
delete host_info.TEMPLATE.HOST;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user