]> git.proxmox.com Git - pve-manager.git/blame - www/manager6/form/CacheTypeSelector.js
adapt KVComboBoxes to pass store items using 'comboItems' parameter
[pve-manager.git] / www / manager6 / form / CacheTypeSelector.js
CommitLineData
0180ac17
DM
1Ext.define('PVE.form.CacheTypeSelector', {
2 extend: 'PVE.form.KVComboBox',
3 alias: ['widget.CacheTypeSelector'],
8f8e8a2e
EK
4 comboItems: [
5 ['__default__', PVE.Utils.defaultText + " (" + gettext('No cache') + ")"],
6 ['directsync', 'Direct sync'],
7 ['writethrough', 'Write through'],
8 ['writeback', 'Write back'],
9 ['unsafe', 'Write back (' + gettext('unsafe') + ')'],
10 ['none', gettext('No cache')]
11 ],
0180ac17 12});