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.method = id ? 'PUT' : 'POST';
|
||||||
me.autoLoad = !!id;
|
me.autoLoad = !!id;
|
||||||
me.scheduleValue = id ? null : 'hourly';
|
me.scheduleValue = id ? null : 'hourly';
|
||||||
me.userid = id ? null : Proxmox.UserName;
|
me.authid = id ? null : Proxmox.UserName;
|
||||||
return { };
|
return { };
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -139,10 +139,10 @@ Ext.define('PBS.window.SyncJobEdit', {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
fieldLabel: gettext('Local Owner'),
|
fieldLabel: gettext('Local Owner'),
|
||||||
xtype: 'pbsUserSelector',
|
xtype: 'pbsAuthidSelector',
|
||||||
name: 'owner',
|
name: 'owner',
|
||||||
cbind: {
|
cbind: {
|
||||||
value: '{userid}',
|
value: '{authid}',
|
||||||
deleteEmpty: '{!isCreate}',
|
deleteEmpty: '{!isCreate}',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user