[pve-devel] [PATCH pve-manager 2/2] ext6migrate: enable the AuthPanel

Emmanuel Kasper e.kasper at proxmox.com
Thu Jan 28 10:59:26 CET 2016


'data' is renamed to 'comboItems' to match the new KVComboBox
---
 www/manager6/dc/AuthEdit.js | 2 +-
 www/manager6/dc/Config.js   | 6 ++----
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/www/manager6/dc/AuthEdit.js b/www/manager6/dc/AuthEdit.js
index 356f004..e096dd1 100644
--- a/www/manager6/dc/AuthEdit.js
+++ b/www/manager6/dc/AuthEdit.js
@@ -128,7 +128,7 @@ Ext.define('PVE.dc.AuthEdit', {
 	    deleteEmpty: !me.create,
 	    value: '',
             fieldLabel: gettext('TFA'),
-	    data: [ ['', PVE.Utils.noneText], ['oath', 'OATH'], ['yubico', 'Yubico']],
+	    comboItems: [ ['', PVE.Utils.noneText], ['oath', 'OATH'], ['yubico', 'Yubico']],
 	    listeners: {
 		change: function(f, value) {
 		    if (!me.rendered) {
diff --git a/www/manager6/dc/Config.js b/www/manager6/dc/Config.js
index 01f7c72..f60bb99 100644
--- a/www/manager6/dc/Config.js
+++ b/www/manager6/dc/Config.js
@@ -80,10 +80,8 @@ Ext.define('PVE.dc.Config', {
 		});
 
 	    me.items.push({
-//		    xtype: 'pveAuthView',
-//		    title: gettext('Authentication'),
-		    xtype: 'gridpanel',
-		    title: 'AuthenTODO',
+		    xtype: 'pveAuthView',
+		    title: gettext('Authentication'),
 		    itemId: 'domains'
 		});
 
-- 
2.1.4





More information about the pve-devel mailing list