Commit 4e1e560c authored by Dietmar Maurer's avatar Dietmar Maurer

fix syntax error from previous commit, white space cleanups

parent 072ea401
...@@ -63,12 +63,12 @@ Ext.define('PVE.storage.ZFSInputPanel', { ...@@ -63,12 +63,12 @@ Ext.define('PVE.storage.ZFSInputPanel', {
allowBlank: false allowBlank: false
}, },
{ {
xtype: me.create ? 'textfield' : 'displayfield', xtype: me.create ? 'textfield' : 'displayfield',
name: 'comstar_tg', name: 'comstar_tg',
height: 22, // hack: set same height as text fields height: 22, // hack: set same height as text fields
value: '', value: '',
fieldLabel: gettext('Target group'), fieldLabel: gettext('Target group'),
allowBlank: true allowBlank: true
} }
]; ];
...@@ -88,26 +88,27 @@ Ext.define('PVE.storage.ZFSInputPanel', { ...@@ -88,26 +88,27 @@ Ext.define('PVE.storage.ZFSInputPanel', {
fieldLabel: gettext('iSCSI Provider'), fieldLabel: gettext('iSCSI Provider'),
allowBlank: false allowBlank: false
}, },
xtype: 'pvecheckbox', {
name: 'sparse', xtype: 'pvecheckbox',
checked: false, name: 'sparse',
uncheckedValue: 0, checked: false,
fieldLabel: gettext('Thin provision') uncheckedValue: 0,
fieldLabel: gettext('Thin provision')
}, },
{ {
xtype: 'pvecheckbox', xtype: 'pvecheckbox',
name: 'nowritecache', name: 'nowritecache',
checked: true, checked: true,
uncheckedValue: 0, uncheckedValue: 0,
fieldLabel: gettext('Write cache') fieldLabel: gettext('Write cache')
}, },
{ {
xtype: me.create ? 'textfield' : 'displayfield', xtype: me.create ? 'textfield' : 'displayfield',
name: 'comstar_hg', name: 'comstar_hg',
height: 22, // hack: set same height as text fields height: 22, // hack: set same height as text fields
value: '', value: '',
fieldLabel: gettext('Host group'), fieldLabel: gettext('Host group'),
allowBlank: true allowBlank: true
} }
]; ];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment