8744c4a6d8
add render function for Qemu Bios, and change data to comboItems and '' to '__default__' Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
17 lines
390 B
JavaScript
17 lines
390 B
JavaScript
Ext.define('PVE.form.QemuBiosSelector', {
|
|
extend: 'PVE.form.KVComboBox',
|
|
alias: ['widget.pveQemuBiosSelector'],
|
|
|
|
initComponent: function() {
|
|
var me = this;
|
|
|
|
me.comboItems = [
|
|
['__default__', PVE.Utils.render_qemu_bios('')],
|
|
['seabios', PVE.Utils.render_qemu_bios('seabios')],
|
|
['ovmf', PVE.Utils.render_qemu_bios('ovmf')]
|
|
];
|
|
|
|
me.callParent();
|
|
}
|
|
});
|