548b29644d
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
10 lines
316 B
JavaScript
10 lines
316 B
JavaScript
Ext.define('PVE.form.DiskFormatSelector', {
|
|
extend: 'PVE.form.KVComboBox',
|
|
alias: ['widget.PVE.form.DiskFormatSelector'],
|
|
comboItems: [
|
|
['raw', gettext('Raw disk image') + ' (raw)'],
|
|
['qcow2', gettext('QEMU image format') + ' (qcow2)'],
|
|
['vmdk', gettext('VMware image format') + ' (vmdk)']
|
|
]
|
|
});
|