mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03:00
bug #3604: Reset the nice info if the vm has no nics
This commit is contained in:
parent
196265c121
commit
3b63da448c
@ -2149,10 +2149,7 @@ function printNics(vm_info){
|
||||
nics = [vm_info.TEMPLATE.NIC]
|
||||
|
||||
if (!nics.length){
|
||||
html += '\
|
||||
<tr id="no_nics_tr">\
|
||||
<td colspan="7">' + tr("No nics to show") + '</td>\
|
||||
</tr>';
|
||||
$("#vms-tab").data("nic_dt_data", []);
|
||||
}
|
||||
else {
|
||||
var nic_dt_data = [];
|
||||
|
Loading…
x
Reference in New Issue
Block a user