Commit 951b2da2 authored by Dietmar Maurer's avatar Dietmar Maurer

copy form/BusTypeSelector.js from manager to manager5

parent 872b15d9
Ext.define('PVE.form.BusTypeSelector', {
extend: 'PVE.form.KVComboBox',
alias: ['widget.PVE.form.BusTypeSelector'],
noVirtIO: false,
noScsi: false,
initComponent: function() {
var me = this;
me.data = [['ide', 'IDE'], ['sata', 'SATA']];
if (!me.noVirtIO) {
me.data.push(['virtio', 'VIRTIO']);
}
if (!me.noScsi) {
me.data.push(['scsi', 'SCSI']);
}
me.callParent();
}
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment