ui: use pbsUserSelector for BackupGroupChangeOwner
This commit is contained in:
parent
61db0851d6
commit
043406d662
@ -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,
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user