From ab0cf7e6a1192f1828aa98f5c0bf9f2576a9b964 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 29 Oct 2020 14:22:39 +0100 Subject: [PATCH] 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 --- www/window/SyncJobEdit.js | 14 -------------- www/window/VerifyJobEdit.js | 14 -------------- 2 files changed, 28 deletions(-) diff --git a/www/window/SyncJobEdit.js b/www/window/SyncJobEdit.js index e57146c1..85dfb7d0 100644 --- a/www/window/SyncJobEdit.js +++ b/www/window/SyncJobEdit.js @@ -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: [ { diff --git a/www/window/VerifyJobEdit.js b/www/window/VerifyJobEdit.js index 0a1826f6..48a181b6 100644 --- a/www/window/VerifyJobEdit.js +++ b/www/window/VerifyJobEdit.js @@ -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: [ {