[pbs-devel] [PATCH proxmox-backup 3/4] ui: use pbsUserSelector for BackupGroupChangeOwner
Dietmar Maurer
dietmar at proxmox.com
Fri Nov 6 08:11:37 CET 2020
---
www/BackupGroupChangeOwner.js | 3 ++-
www/DataStoreContent.js | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/www/BackupGroupChangeOwner.js b/www/BackupGroupChangeOwner.js
index 0a7a7563..9bd01782 100644
--- a/www/BackupGroupChangeOwner.js
+++ b/www/BackupGroupChangeOwner.js
@@ -31,8 +31,9 @@ Ext.define('PBS.BackupGroupChangeOwner', {
column1: [
{
- xtype: 'textfield',
+ xtype: 'pbsUserSelector',
name: 'new-owner',
+ value: me.owner,
fieldLabel: gettext('Userid'),
minLength: 8,
allowBlank: false,
diff --git a/www/DataStoreContent.js b/www/DataStoreContent.js
index 7c6395c2..1901e694 100644
--- a/www/DataStoreContent.js
+++ b/www/DataStoreContent.js
@@ -281,6 +281,7 @@ Ext.define('PBS.DataStoreContent', {
datastore: view.datastore,
backup_type: data.backup_type,
backup_id: data.backup_id,
+ owner: data.owner,
autoShow: true,
});
win.on('destroy', this.reload, this);
--
2.20.1
More information about the pbs-devel
mailing list