[pbs-devel] [PATCH proxmox-backup] ui: window/SyncJobEdit: disable autoSelect for remote datastore

Dominik Csapak d.csapak at proxmox.com
Mon May 10 13:22:40 CEST 2021


when changin the remote, there is a high chance that there are different
datastores, and if a user does not pay attention, now the first store
of the new remote is selected, instead of the one with the same name

disable autoSelect and let the user manually select a remote datastore

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/window/SyncJobEdit.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/window/SyncJobEdit.js b/www/window/SyncJobEdit.js
index af4d2fa9..47e65ae3 100644
--- a/www/window/SyncJobEdit.js
+++ b/www/window/SyncJobEdit.js
@@ -182,6 +182,7 @@ Ext.define('PBS.window.SyncJobEdit', {
 		fieldLabel: gettext('Source Datastore'),
 		xtype: 'pbsRemoteStoreSelector',
 		allowBlank: false,
+		autoSelect: false,
 		name: 'remote-store',
 		disabled: true,
 	    },
-- 
2.20.1






More information about the pbs-devel mailing list