[pve-devel] [PATCH pve-manager 3/3] ext6migrate: adapt to new KVComboBox interface

Emmanuel Kasper e.kasper at proxmox.com
Wed Feb 3 12:11:47 CET 2016


---
 www/manager6/grid/FirewallRules.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/manager6/grid/FirewallRules.js b/www/manager6/grid/FirewallRules.js
index 7c5cfc0..5fdd581 100644
--- a/www/manager6/grid/FirewallRules.js
+++ b/www/manager6/grid/FirewallRules.js
@@ -90,7 +90,7 @@ Ext.define('PVE.FirewallRulePanel', {
 		xtype: 'pveKVComboBox',
 		name: 'type',
 		value: 'in',
-		data: [['in', 'in'], ['out', 'out']],
+		comboItems: [['in', 'in'], ['out', 'out']],
 		fieldLabel: gettext('Direction'),
 		allowBlank: false
 	    },
@@ -98,7 +98,7 @@ Ext.define('PVE.FirewallRulePanel', {
 		xtype: 'pveKVComboBox',
 		name: 'action',
 		value: 'ACCEPT',
-		data: [['ACCEPT', 'ACCEPT'], ['DROP', 'DROP'], ['REJECT', 'REJECT']],
+		comboItems: [['ACCEPT', 'ACCEPT'], ['DROP', 'DROP'], ['REJECT', 'REJECT']],
 		fieldLabel: gettext('Action'),
 		allowBlank: false
 	    }
-- 
2.1.4





More information about the pve-devel mailing list