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:
parent
71d5316545
commit
71a084c2ff
@ -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();
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user