ui: use AuthidSelector for sync job owner
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
		
				
					committed by
					
						
						Thomas Lamprecht
					
				
			
			
				
	
			
			
			
						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}',
 | 
			
		||||
		},
 | 
			
		||||
	    },
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user