From d923671a7b552f6ac259b06e0612f997ae0cfcdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Fri, 6 Nov 2020 13:01:57 +0100 Subject: [PATCH] ui: use AuthidSelector for sync job owner MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabian Grünbichler --- 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}', }, },