ui: storage/cephfs: fix maxfiles default enable

Most other storage types do not have backup in their default content
selection when creating a new storage, so there it make sense to
initially have maxfiles disabled. But with CephFS we have default
_only_ backup as content type, so let it enabled here - as else one
must change something in the content selector to enable the field.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2018-12-07 14:02:37 +01:00
parent 39f2b04fa9
commit a15bd00cf0

View File

@ -76,7 +76,6 @@ Ext.define('PVE.storage.CephFSInputPanel', {
{
xtype: 'proxmoxintegerfield',
fieldLabel: gettext('Max Backups'),
disabled: true,
name: 'maxfiles',
reference: 'maxfiles',
minValue: 0,