and mdev change.
giving an empty array did not have the desired effect of resetting the
selection, but giving no parameter at all does.
this now also clears the selection when the mdev filter/config changed
(was just forgotten)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
}
me.suspendEvent('change');
- me.setSelection([]);
+ me.setSelection();
me.setSelection(recs);
me.resumeEvent('change');
},
url: '/api2/json/nodes/' + me.nodename + '/hardware/pci?pci-class-blacklist=',
});
- me.setSelection([]);
+ me.setSelection();
me.getStore().load({
callback: (recs, op, success) => me.addSlotRecords(recs, op, success),
} else {
me.getStore().removeFilter('mdev-filter');
}
+ me.setSelection();
},
// adds the virtual 'slot' records (e.g. '0000:01:00') to the store