From 27d3a232d0e6de225122e0cb98460fa0b19c95cc Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 30 May 2022 15:15:39 +0200 Subject: [PATCH] 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 --- www/window/PruneJobEdit.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/window/PruneJobEdit.js b/www/window/PruneJobEdit.js index ac6beda6..87be71ad 100644 --- a/www/window/PruneJobEdit.js +++ b/www/window/PruneJobEdit.js @@ -123,6 +123,7 @@ Ext.define('PBS.window.PruneJobEdit', { columnB: [ { xtype: 'pbsPruneInputPanel', + getValues: () => ({}), // let that handle our inputpanel here }, { fieldLabel: gettext('Comment'),