From 043406d6624876266bab2d824824f9422c28bdc4 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Fri, 6 Nov 2020 07:40:09 +0100 Subject: [PATCH] ui: use pbsUserSelector for BackupGroupChangeOwner --- www/BackupGroupChangeOwner.js | 3 ++- www/datastore/Content.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/datastore/Content.js b/www/datastore/Content.js index 7c6395c2..1901e694 100644 --- a/www/datastore/Content.js +++ b/www/datastore/Content.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);