ui: fix missing deleteEmpty on SyncJobEdit

else we cannot delete those fields

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2020-06-23 15:29:57 +02:00 committed by Dietmar Maurer
parent 8567c0d29c
commit 6e1f0c138f

View File

@ -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}',
},
},
],
},