form/CacheTypeSelector.js \
form/SnapshotSelector.js \
form/ContentTypeSelector.js \
+ form/iScsiProviderSelector.js \
form/DayOfWeekSelector.js \
form/BackupModeSelector.js \
form/ScsiHwSelector.js \
--- /dev/null
+Ext.define('PVE.form.iScsiProviderSelector', {
+ extend: 'PVE.form.KVComboBox',
+ alias: ['widget.pveiScsiProviderSelector'],
+
+ initComponent: function() {
+ var me = this;
+
+ me.data = [
+ ['comstar', 'Comstar'],
+ [ 'istgt', 'istgt'],
+ [ 'iet', 'IET']
+ ];
+
+ me.callParent();
+ }
+});
fieldLabel: gettext('Enable')
},
{
- xtype: me.create ? 'textfield' : 'displayfield',
+ xtype: me.create ? 'pveiScsiProviderSelector' : 'displayfield',
name: 'iscsiprovider',
height: 22, // hack: set same height as text fields
- value: 'Comstar',
+ value: 'comstar',
fieldLabel: gettext('iSCSI Provider'),
allowBlank: false
},