mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-05-28 16:30:30 +00:00
ui: tape: prevent mislabeling tapes in changers
when labeling a tape in a changer, we pre-fill the label field with the one from the barcode (if it exists). Letting the user change the label here does not make much sense, since we assume that they are the same (e.g. for move operations etc.) So instead simply display the label to protect users from accidentally changing it. If a user really needs to have a different label than the suggested one, it's still possible on the cli. Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
b1acea4f4d
commit
73d471e90f
@ -50,10 +50,12 @@ Ext.define('PBS.TapeManagement.LabelMediaWindow', {
|
||||
{
|
||||
fieldLabel: gettext('Label'),
|
||||
name: 'label-text',
|
||||
xtype: 'proxmoxtextfield',
|
||||
xtype: 'pmxDisplayEditField',
|
||||
submitValue: true,
|
||||
allowBlank: false,
|
||||
cbind: {
|
||||
value: '{label}',
|
||||
editable: '{!label}',
|
||||
},
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user