From 6e1f0c138f80729de6f2c8a246101b2e6da5379e Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Tue, 23 Jun 2020 15:29:57 +0200 Subject: [PATCH] ui: fix missing deleteEmpty on SyncJobEdit else we cannot delete those fields Signed-off-by: Dominik Csapak --- www/window/SyncJobEdit.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/www/window/SyncJobEdit.js b/www/window/SyncJobEdit.js index f89d04d2..2759716c 100644 --- a/www/window/SyncJobEdit.js +++ b/www/window/SyncJobEdit.js @@ -70,6 +70,9 @@ Ext.define('PBS.window.SyncJobEdit', { fieldLabel: gettext('Schedule'), xtype: 'proxmoxtextfield', name: 'schedule', + cbind: { + deleteEmpty: '{!isCreate}', + }, }, ], @@ -78,6 +81,9 @@ Ext.define('PBS.window.SyncJobEdit', { fieldLabel: gettext('Comment'), xtype: 'proxmoxtextfield', name: 'comment', + cbind: { + deleteEmpty: '{!isCreate}', + }, }, ], },