ui: use AuthidSelector for sync job owner
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
db8a606707
commit
d923671a7b
@ -112,7 +112,7 @@ Ext.define('PBS.window.SyncJobEdit', {
|
||||
me.method = id ? 'PUT' : 'POST';
|
||||
me.autoLoad = !!id;
|
||||
me.scheduleValue = id ? null : 'hourly';
|
||||
me.userid = id ? null : Proxmox.UserName;
|
||||
me.authid = id ? null : Proxmox.UserName;
|
||||
return { };
|
||||
},
|
||||
|
||||
@ -139,10 +139,10 @@ Ext.define('PBS.window.SyncJobEdit', {
|
||||
},
|
||||
{
|
||||
fieldLabel: gettext('Local Owner'),
|
||||
xtype: 'pbsUserSelector',
|
||||
xtype: 'pbsAuthidSelector',
|
||||
name: 'owner',
|
||||
cbind: {
|
||||
value: '{userid}',
|
||||
value: '{authid}',
|
||||
deleteEmpty: '{!isCreate}',
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user