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:
parent
d14512c82d
commit
bd21a63bd2
|
@ -228,6 +228,10 @@ Ext.define('PBS.window.SyncJobEdit', {
|
|||
name: 'id',
|
||||
allowBlank: true,
|
||||
regex: PBS.Utils.SAFE_ID_RE,
|
||||
cbind: {
|
||||
disabled: '{!isCreate}',
|
||||
hidden: '{!isCreate}',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue