[pbs-devel] [PATCH proxmox-backup 1/2] ui: form/DriveSelector: do not autoselect the drive

Dominik Csapak d.csapak at proxmox.com
Mon Jun 7 15:06:44 CEST 2021


in case an invalid drive was configured, now it marks the field invalid
instead of autoselecting the first valid one

this could have lead to users configuring the wrong drive in a tape-backup-job
when they edited one

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/tape/form/DriveSelector.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/www/tape/form/DriveSelector.js b/www/tape/form/DriveSelector.js
index 333989a9..9c793e46 100644
--- a/www/tape/form/DriveSelector.js
+++ b/www/tape/form/DriveSelector.js
@@ -16,6 +16,8 @@ Ext.define('PBS.form.DriveSelector', {
 	sorters: 'name',
     },
 
+    autoSelect: false,
+
     listConfig: {
 	columns: [
 	    {
-- 
2.20.1






More information about the pbs-devel mailing list