[pve-devel] [PATCH widget-toolkit 04/15] pass given defaults in Edit window
Dominik Csapak
d.csapak at proxmox.com
Mon Jan 15 15:17:37 CET 2018
this is a port of the change for the Edit window from
pve-manager commit:
ff740ccbeed1e7e2131b14c9ce50f300f24201f6
which passes the given defaults to the items
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
window/Edit.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/window/Edit.js b/window/Edit.js
index b736a85..0d51944 100644
--- a/window/Edit.js
+++ b/window/Edit.js
@@ -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%'
--
2.11.0
More information about the pve-devel
mailing list