ui: prune jobs: avoid duplicate params through nested input panels
input panel collect all form fields below them, so nesting two input panels needs a bit of special care to avoid that each of the panels adds the data of the deeper nested ones, resulting in duplicate parameters that the backend then chokes one. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
1fa6083bc8
commit
27d3a232d0
|
@ -123,6 +123,7 @@ Ext.define('PBS.window.PruneJobEdit', {
|
||||||
columnB: [
|
columnB: [
|
||||||
{
|
{
|
||||||
xtype: 'pbsPruneInputPanel',
|
xtype: 'pbsPruneInputPanel',
|
||||||
|
getValues: () => ({}), // let that handle our inputpanel here
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
fieldLabel: gettext('Comment'),
|
fieldLabel: gettext('Comment'),
|
||||||
|
|
Loading…
Reference in New Issue