]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
networkedit: display MTU for OVS-bond interfaces too
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 8 Jun 2020 14:47:42 +0000 (16:47 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 8 Jun 2020 14:47:46 +0000 (16:47 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Originally-by: Alexandre Derumier <aderumier@odiso.com>
src/node/NetworkEdit.js

index 72aab6f771c56fb3d629aca5f851e38ce3a3efb8..0792dde61ea5286958334d2b9f78111bfa1e4281 100644 (file)
@@ -312,18 +312,18 @@ 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,