[pbs-devel] [PATCH proxmox-backup 2/3] www: use AuthidSelector for sync job owner
Fabian Grünbichler
f.gruenbichler at proxmox.com
Fri Nov 6 13:01:57 CET 2020
Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
www/window/SyncJobEdit.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/www/window/SyncJobEdit.js b/www/window/SyncJobEdit.js
index bb9540a6..573a4af6 100644
--- a/www/window/SyncJobEdit.js
+++ b/www/window/SyncJobEdit.js
@@ -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}',
},
},
--
2.20.1
More information about the pbs-devel
mailing list