]> git.proxmox.com Git - pve-manager.git/blame - www/manager/form/BusTypeSelector.js
disable animation of charts on load
[pve-manager.git] / www / manager / form / BusTypeSelector.js
CommitLineData
aff192e6
DM
1Ext.define('PVE.form.BusTypeSelector', {
2 extend: 'PVE.form.KVComboBox',
3 alias: ['widget.PVE.form.BusTypeSelector'],
4
3d2af3eb 5 noVirtIO: false,
aff192e6
DM
6
7 noScsi: false,
8
9 initComponent: function() {
10 var me = this;
11
910e0120 12 me.data = [['ide', 'IDE'], ['sata', 'SATA']];
aff192e6
DM
13
14 if (!me.noVirtIO) {
15 me.data.push(['virtio', 'VIRTIO']);
16 }
17
18 if (!me.noScsi) {
19 me.data.push(['scsi', 'SCSI']);
20 }
21
22 me.callParent();
23 }
24});