mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-06-03 22:58:50 +00:00

we used a custom 'data' property to pass around the items to add to the store, but this property is now used by ExtJS to store content for the component template also move to declarative style, saves lines
14 lines
522 B
JavaScript
14 lines
522 B
JavaScript
Ext.define('PVE.form.ScsiHwSelector', {
|
|
extend: 'PVE.form.KVComboBox',
|
|
alias: ['widget.pveScsiHwSelector'],
|
|
comboItems: [
|
|
['__default__', PVE.Utils.render_scsihw('')],
|
|
['lsi', PVE.Utils.render_scsihw('lsi')],
|
|
['lsi53c810', PVE.Utils.render_scsihw('lsi53c810')],
|
|
['megasas', PVE.Utils.render_scsihw('megasas')],
|
|
['virtio-scsi-pci', PVE.Utils.render_scsihw('virtio-scsi-pci')],
|
|
['virtio-scsi-single', PVE.Utils.render_scsihw('virtio-scsi-single')],
|
|
['pvscsi', PVE.Utils.render_scsihw('pvscsi')]
|
|
]
|
|
});
|