ui: use pbsUserSelector for BackupGroupChangeOwner

This commit is contained in:
Dietmar Maurer 2020-11-06 07:40:09 +01:00
parent 61db0851d6
commit 043406d662
2 changed files with 3 additions and 1 deletions

View File

@ -31,8 +31,9 @@ Ext.define('PBS.BackupGroupChangeOwner', {
column1: [ column1: [
{ {
xtype: 'textfield', xtype: 'pbsUserSelector',
name: 'new-owner', name: 'new-owner',
value: me.owner,
fieldLabel: gettext('Userid'), fieldLabel: gettext('Userid'),
minLength: 8, minLength: 8,
allowBlank: false, allowBlank: false,

View File

@ -281,6 +281,7 @@ Ext.define('PBS.DataStoreContent', {
datastore: view.datastore, datastore: view.datastore,
backup_type: data.backup_type, backup_type: data.backup_type,
backup_id: data.backup_id, backup_id: data.backup_id,
owner: data.owner,
autoShow: true, autoShow: true,
}); });
win.on('destroy', this.reload, this); win.on('destroy', this.reload, this);