Fix ComboBoxes when adding a mountpoint

reasoning identic to:
commit 548b29644df81408fc0fb4f3f450047e906c26c7
adapt KVComboBoxes to pass store items using 'comboItems' parameter
This commit is contained in:
Emmanuel Kasper 2016-03-09 15:57:16 +01:00 committed by Dietmar Maurer
parent ac88c0fcec
commit bedd67f69b

@ -301,7 +301,7 @@ Ext.define('PVE.lxc.MountPointInputPanel', {
fieldLabel: gettext('Mount Point'),
matchFieldWidth: false,
allowBlank: false,
data: names,
comboItems: names,
validator: function(value) {
if (!me.rendered) {
return;
@ -446,7 +446,7 @@ Ext.define('PVE.lxc.MountPointInputPanel', {
xtype: 'pveKVComboBox',
name: 'acl',
fieldLabel: gettext('ACLs'),
data: [['Default', 'Default'], ['1', 'On'], ['0', 'Off']],
comboItems: [['Default', 'Default'], ['1', 'On'], ['0', 'Off']],
value: 'Default',
allowBlank: true
},