public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox-backup 1/2] ui: form/DriveSelector: do not autoselect the drive
@ 2021-06-07 13:06 Dominik Csapak
  2021-06-07 13:06 ` [pbs-devel] [PATCH proxmox-backup 2/2] ui: tape/TapeBackupJob: use correct default value for pbsUserSelector Dominik Csapak
  2021-06-08  6:29 ` [pbs-devel] applied: [PATCH proxmox-backup 1/2] ui: form/DriveSelector: do not autoselect the drive Thomas Lamprecht
  0 siblings, 2 replies; 4+ messages in thread
From: Dominik Csapak @ 2021-06-07 13:06 UTC (permalink / raw)
  To: pbs-devel

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@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





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-06-08  6:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-07 13:06 [pbs-devel] [PATCH proxmox-backup 1/2] ui: form/DriveSelector: do not autoselect the drive Dominik Csapak
2021-06-07 13:06 ` [pbs-devel] [PATCH proxmox-backup 2/2] ui: tape/TapeBackupJob: use correct default value for pbsUserSelector Dominik Csapak
2021-06-08  6:29   ` [pbs-devel] applied: " Thomas Lamprecht
2021-06-08  6:29 ` [pbs-devel] applied: [PATCH proxmox-backup 1/2] ui: form/DriveSelector: do not autoselect the drive Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal