mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 13:39:01 +01:00 
			
		
		
		
	client: Fix default focus of "Include note" dialog (closes #365)
This commit is contained in:
		
							parent
							
								
									07bd3de4fb
								
							
						
					
					
						commit
						a18ac7c504
					
				@ -76,6 +76,10 @@ export default class IncludeNoteDialog extends BasicWidget {
 | 
			
		||||
        this.textTypeWidget = textTypeWidget;
 | 
			
		||||
        await this.refresh();
 | 
			
		||||
        utils.openDialog(this.$widget);
 | 
			
		||||
 | 
			
		||||
        this.$autoComplete
 | 
			
		||||
            .trigger('focus')
 | 
			
		||||
            .trigger('select'); // to be able to quickly remove entered text
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    async refresh(widget) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user