ui: drop id field from verify/sync add window

the config is shared between multiple datastores with the ID as, well
the unique ID, but we only show those of a single datastore.

So if a user adds a new one with a fixed ID "12345" but a job with
that ID exists already on another store, they get a error about
duplicate IDs, but cannot relate as that duplicate job is not visible
(filtered away)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-10-29 14:22:39 +01:00
parent 264779e704
commit ab0cf7e6a1
2 changed files with 0 additions and 28 deletions

View File

@ -60,20 +60,6 @@ Ext.define('PBS.window.SyncJobEdit', {
name: 'remote-store', name: 'remote-store',
}, },
], ],
advancedColumn1: [
{
xtype: 'pmxDisplayEditField',
name: 'id',
fieldLabel: gettext('Sync Job ID'),
emptyText: gettext('Automatic'),
renderer: Ext.htmlEncode,
allowBlank: true,
minLength: 4,
cbind: {
editable: '{isCreate}',
},
},
],
column2: [ column2: [
{ {

View File

@ -65,20 +65,6 @@ Ext.define('PBS.window.VerifyJobEdit', {
}, },
}, },
], ],
advancedColumn1: [
{
xtype: 'pmxDisplayEditField',
name: 'id',
fieldLabel: gettext('Verify Job ID'),
emptyText: gettext('Automatic'),
renderer: Ext.htmlEncode,
allowBlank: true,
minLength: 4,
cbind: {
editable: '{isCreate}',
},
},
],
column2: [ column2: [
{ {