]>
Commit | Line | Data |
---|---|---|
aff192e6 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 = [ | |
0070ee37 | 9 | ['', gettext('Default') + " (" + gettext('No cache') + ")"], |
1d193193 | 10 | ['directsync', 'Direct sync'], |
aff192e6 DM |
11 | ['writethrough', 'Write through'], |
12 | ['writeback', 'Write back'], | |
0070ee37 DP |
13 | ['unsafe', 'Write back (' + gettext('unsafe') + ')'], |
14 | ['none', gettext('No cache')] | |
aff192e6 DM |
15 | ]; |
16 | ||
17 | me.callParent(); | |
18 | } | |
19 | }); |