1
0
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:
Daniel Molina 2015-02-24 16:07:15 +01:00
parent 196265c121
commit 3b63da448c

View File

@ -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 = [];