]>
Commit | Line | Data |
---|---|---|
0180ac17 DM |
1 | Ext.define('PVE.form.CacheTypeSelector', { |
2 | extend: 'PVE.form.KVComboBox', | |
3 | alias: ['widget.CacheTypeSelector'], | |
4 | ||
5 | initComponent: function() { | |
6 | var me = this; | |
7 | ||
8 | me.data = [ | |
9 | ['', PVE.Utils.defaultText + " (" + gettext('No cache') + ")"], | |
10 | ['directsync', 'Direct sync'], | |
11 | ['writethrough', 'Write through'], | |
12 | ['writeback', 'Write back'], | |
13 | ['unsafe', 'Write back (' + gettext('unsafe') + ')'], | |
14 | ['none', gettext('No cache')] | |
15 | ]; | |
16 | ||
17 | me.callParent(); | |
18 | } | |
19 | }); |