mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-06 08:31:09 +00:00
ui: backup job edit: fix form reset tracking
When the mode changes, we set the pool selector visible/hidden, but we never disabled/enabled it. This tripped up the dirty state of the form always showing the reset button as enabled. Properly enabling and disabling the pool field fixes the dirty state tracking. Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
5a2e333c9e
commit
2389b2fa05
@ -322,10 +322,12 @@ Ext.define('PVE.dc.BackupEdit', {
|
||||
vmgrid.setDisabled(true);
|
||||
vmidField.setValue('');
|
||||
selPool.setVisible(true);
|
||||
selPool.setDisabled(false);
|
||||
selPool.allowBlank = false;
|
||||
selectPoolMembers(selPool.value);
|
||||
} else {
|
||||
selPool.setVisible(false);
|
||||
selPool.setDisabled(true);
|
||||
selPool.allowBlank = true;
|
||||
}
|
||||
let list = vmidField.getValue();
|
||||
|
Loading…
Reference in New Issue
Block a user