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 authored and Thomas Lamprecht committed 2022-05-17 09:47:56 +02:00
1 parent d14512c82d
commit bd21a63bd2
1 file changed
+4
+4
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}',
},
},
],
},