[pve-devel] [PATCH pve-manager 5/6] Fix ComboBoxes when adding a mountpoint

Emmanuel Kasper e.kasper at proxmox.com
Wed Mar 9 15:57:16 CET 2016


reasoning identic to:
commit 548b29644df81408fc0fb4f3f450047e906c26c7
adapt KVComboBoxes to pass store items using 'comboItems' parameter
---
 www/manager6/lxc/ResourceEdit.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/manager6/lxc/ResourceEdit.js b/www/manager6/lxc/ResourceEdit.js
index 04560e4..270eb62 100644
--- a/www/manager6/lxc/ResourceEdit.js
+++ b/www/manager6/lxc/ResourceEdit.js
@@ -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
 	    },
-- 
2.1.4





More information about the pve-devel mailing list