ui: sync job: don't send 'id' on edit

we cannot change the id, and even if we send the same, the backend
does not allow 'duplicate' parameters (the id is in the url already)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Dominik Csapak 2022-05-17 09:05:22 +02:00 committed by Thomas Lamprecht
parent d14512c82d
commit bd21a63bd2

View File

@ -228,6 +228,10 @@ Ext.define('PBS.window.SyncJobEdit', {
name: 'id',
allowBlank: true,
regex: PBS.Utils.SAFE_ID_RE,
cbind: {
disabled: '{!isCreate}',
hidden: '{!isCreate}',
},
},
],
},