[pve-devel] [PATCH 13/18] add itemIds in tabpanels

Dominik Csapak d.csapak at proxmox.com
Tue Apr 4 13:48:53 CEST 2017


will be used for routing

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 js/MailProxyConfiguration.js | 8 ++++++++
 js/SystemConfiguration.js    | 4 ++++
 2 files changed, 12 insertions(+)

diff --git a/js/MailProxyConfiguration.js b/js/MailProxyConfiguration.js
index 145e7bd..1b2f2fd 100644
--- a/js/MailProxyConfiguration.js
+++ b/js/MailProxyConfiguration.js
@@ -10,34 +10,42 @@ Ext.define('PMG.MailProxyConfiguration', {
 
     items: [
 	{
+	    itemId: 'relaying',
 	    title: gettext('Relaying'),
 	    xtype: 'pmgMailProxyRelaying'
 	},
 	{
+	    itemId: 'relaydomains',
 	    title: gettext('Relay Domains'),
 	    xtype: 'pmgRelayDomains'
 	},
 	{
+	    itemId: 'ports',
 	    title: gettext('Ports'),
 	    xtype: 'pmgMailProxyPorts'
 	},
 	{
+	    itemId: 'options',
             title: gettext('Options'),
 	    xtype: 'pmgMailProxyOptions'
 	},
 	{
+	    itemId: 'transports',
             title: gettext('Transports'),
 	    xtype: 'pmgTransport'
 	},
 	{
+	    itemId: 'networks',
             title: gettext('Networks'),
 	    xtype: 'pmgMyNetworks'
 	},
 	{
+	    itemId: 'tls',
             title: gettext('TLS'),
 	    xtype: 'pmgMailProxyTLS'
 	},
 	{
+	    itemId: 'whitelist',
 	    title: gettext('Whitelist'),
 	    xtype: 'pmgObjectGroup',
 	    hideGroupInfo: true,
diff --git a/js/SystemConfiguration.js b/js/SystemConfiguration.js
index b2653d5..937ccb4 100644
--- a/js/SystemConfiguration.js
+++ b/js/SystemConfiguration.js
@@ -23,18 +23,22 @@ Ext.define('PMG.SystemConfiguration', {
 	    nodename: Proxmox.NodeName
 	},
 	{
+	    itemId: 'backup',
             title: gettext('Backup'),
 	    html: "Backkup"
 	},
 	{
+	    itemId: 'restore',
             title: gettext('Restore'),
 	    html: "Restore"
 	},
 	{
+	    itemId: 'reports',
             title: gettext('Reports'),
 	    html: "Reports"
 	},
 	{
+	    itemId: 'ssh',
             title: gettext('SSH Access'),
 	    html: "SSH Access"
 	}
-- 
2.11.0





More information about the pve-devel mailing list