]> git.proxmox.com Git - pve-manager.git/blame - www/manager/form/CacheTypeSelector.js
disable animation of charts on load
[pve-manager.git] / www / manager / form / CacheTypeSelector.js
CommitLineData
aff192e6
DM
1Ext.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 = [
32eff128 9 ['', PVE.Utils.defaultText + " (" + 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});