From 71a084c2ffe01ceb96a12448abfb65f249f438a4 Mon Sep 17 00:00:00 2001 From: Aaron Lauterer Date: Tue, 17 Nov 2020 14:50:43 +0100 Subject: [PATCH] InputPanel: remove old code for useFieldContainer `useFieldContainer` doesn't seem to be used anymore in any of our products: * PVE * PMG * PBS it therefore can be considered dead code. Signed-off-by: Aaron Lauterer --- src/panel/InputPanel.js | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/src/panel/InputPanel.js b/src/panel/InputPanel.js index f132005..ed3521a 100644 --- a/src/panel/InputPanel.js +++ b/src/panel/InputPanel.js @@ -225,25 +225,14 @@ Ext.define('Proxmox.panel.InputPanel', { }); } - if (me.useFieldContainer) { - Ext.apply(me, { - layout: 'fit', - items: Ext.apply(me.useFieldContainer, { - layout: 'column', - defaultType: 'container', - items: items, - }), - }); - } else { - Ext.apply(me, { - layout: { - type: 'vbox', - align: 'stretch', - }, - defaultType: 'container', - items: items, - }); - } + Ext.apply(me, { + layout: { + type: 'vbox', + align: 'stretch', + }, + defaultType: 'container', + items: items, + }); me.callParent(); },