]> git.proxmox.com Git - proxmox-backup.git/commitdiff
ui: drop id field from verify/sync add window
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 29 Oct 2020 13:22:39 +0000 (14:22 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 29 Oct 2020 13:22:43 +0000 (14:22 +0100)
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>
www/window/SyncJobEdit.js
www/window/VerifyJobEdit.js

index e57146c1c4ed0e4807052056a0f4cf60faf5b0ba..85dfb7d0f1931b8e632c389802b1dfc177bf5faf 100644 (file)
@@ -60,20 +60,6 @@ Ext.define('PBS.window.SyncJobEdit', {
                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: [
            {
index 0a1826f6be7aa82dc1980ca709408fbff8cc1f67..48a181b668edbb3c40b3842385bf4059be8be425 100644 (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: [
            {