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 <a.lauterer@proxmox.com>
This commit is contained in:
Aaron Lauterer 2020-11-17 14:50:43 +01:00 committed by Dominik Csapak
parent 71d5316545
commit 71a084c2ff

View File

@ -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();
},