ui: sync/verify jobs: use pmxDisplayEditField to fix editing
commit bd21a63b
only fixed sync, not verify, and we can do better by
using a display-edit field.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
bd21a63bd2
commit
76bc66b9bd
|
@ -222,15 +222,14 @@ Ext.define('PBS.window.SyncJobEdit', {
|
|||
],
|
||||
advancedColumn1: [
|
||||
{
|
||||
xtype: 'proxmoxtextfield',
|
||||
xtype: 'pmxDisplayEditField',
|
||||
fieldLabel: gettext('Job ID'),
|
||||
emptyText: gettext('Autogenerate'),
|
||||
name: 'id',
|
||||
allowBlank: true,
|
||||
regex: PBS.Utils.SAFE_ID_RE,
|
||||
cbind: {
|
||||
disabled: '{!isCreate}',
|
||||
hidden: '{!isCreate}',
|
||||
editable: '{isCreate}',
|
||||
},
|
||||
},
|
||||
],
|
||||
|
|
|
@ -153,12 +153,15 @@ Ext.define('PBS.window.VerifyJobEdit', {
|
|||
],
|
||||
advancedColumn1: [
|
||||
{
|
||||
xtype: 'proxmoxtextfield',
|
||||
xtype: 'pmxDisplayEditField',
|
||||
fieldLabel: gettext('Job ID'),
|
||||
emptyText: gettext('Autogenerate'),
|
||||
name: 'id',
|
||||
allowBlank: true,
|
||||
regex: PBS.Utils.SAFE_ID_RE,
|
||||
cbind: {
|
||||
editable: '{isCreate}',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue