mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 11:22:55 +09:00
bug #3604: Reset the nice info if the vm has no nics
This commit is contained in:
1 parent
196265c121
commit
3b63da448c
1 file changed
+1
-4
@@ -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 = [];
|
||||
|
||||
Reference in new issue
Block a user