[pve-devel] [PATCH proxmox-widget-toolkit] networkedit: display mtu for ovsbond too

Alexandre Derumier aderumier at odiso.com
Sun Jun 7 13:30:29 CEST 2020


---
 node/NetworkEdit.js | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

diff --git a/node/NetworkEdit.js b/node/NetworkEdit.js
index 72aab6f..b01712c 100644
--- a/node/NetworkEdit.js
+++ b/node/NetworkEdit.js
@@ -312,19 +312,20 @@ Ext.define('Proxmox.node.NetworkEdit', {
 		    name: 'gateway6',
 		},
 	    );
-	    advancedColumn1.push(
-		{
-		    xtype: 'proxmoxintegerfield',
-		    minValue: 1280,
-		    maxValue: 65520,
-		    deleteEmpty: !me.isCreate,
-		    emptyText: 1500,
-		    fieldLabel: 'MTU',
-		    name: 'mtu',
-		},
-	    );
 	}
 
+	advancedColumn1.push(
+	    {
+		xtype: 'proxmoxintegerfield',
+		minValue: 1280,
+		maxValue: 65520,
+		deleteEmpty: !me.isCreate,
+		emptyText: 1500,
+		fieldLabel: 'MTU',
+		name: 'mtu',
+	    },
+	);
+
 	Ext.applyIf(me, {
 	    url: url,
 	    method: method,
-- 
2.20.1




More information about the pve-devel mailing list