Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
text: gettext('Shutdown'),
iconCls: 'fa fa-fw fa-power-off',
disabled: stopped || suspended,
- handler: () => confirmedVMCommand('shutdown'),
+ handler: () => confirmedVMCommand('shutdown'),
},
{
text: gettext('Stop'),
if (iommu !== -1) {
var count = 0;
pcisel.getStore().each(function(record) {
- if (record.data.iommugroup === iommu &&
- record.data.id.substring(0, 5) !== id) {
+ if (
+ record.data.iommugroup === iommu &&
+ record.data.id.substring(0, 5) !== id
+ ) {
count++;
return false;
}
+ return true;
});
var warning = me.down('#iommuwarning');
if (count && !warning) {