From 93d8a2044e514a0fff9fc5ad547d84caab45110f Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Mon, 7 Jun 2021 15:06:44 +0200 Subject: [PATCH] ui: tape: DriveSelector: do not autoselect the drive 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 Reported-by: Thomas Lamprecht --- 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: [ {