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, {
|
||||||
Ext.apply(me, {
|
layout: {
|
||||||
layout: 'fit',
|
type: 'vbox',
|
||||||
items: Ext.apply(me.useFieldContainer, {
|
align: 'stretch',
|
||||||
layout: 'column',
|
},
|
||||||
defaultType: 'container',
|
defaultType: 'container',
|
||||||
items: items,
|
items: items,
|
||||||
}),
|
});
|
||||||
});
|
|
||||||
} else {
|
|
||||||
Ext.apply(me, {
|
|
||||||
layout: {
|
|
||||||
type: 'vbox',
|
|
||||||
align: 'stretch',
|
|
||||||
},
|
|
||||||
defaultType: 'container',
|
|
||||||
items: items,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
me.callParent();
|
me.callParent();
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user