pass given defaults in Edit window

this is a port of the change for the Edit window from
pve-manager commit:
ff740ccbeed1e7e2131b14c9ce50f300f24201f6

which passes the given defaults to the items
This commit is contained in:
Dominik Csapak 2017-12-18 10:36:14 +01:00
parent 42a9df8b1f
commit 31a5025184

View File

@ -215,9 +215,9 @@ Ext.define('Proxmox.window.Edit', {
trackResetOnLoad: true,
bodyPadding: 10,
border: false,
defaults: {
defaults: Ext.apply({}, me.defaults, {
border: false
},
}),
fieldDefaults: Ext.apply({}, me.fieldDefaults, {
labelWidth: 100,
anchor: '100%'