mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	fix bug when giving focus again to autocomplete input when coming back from note type chooser
This commit is contained in:
		
							
								
								
									
										14
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										14
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							| @@ -82,7 +82,7 @@ | |||||||
|         "jsdoc": "3.6.10", |         "jsdoc": "3.6.10", | ||||||
|         "lorem-ipsum": "2.0.4", |         "lorem-ipsum": "2.0.4", | ||||||
|         "rcedit": "3.0.1", |         "rcedit": "3.0.1", | ||||||
|         "webpack": "5.72.1", |         "webpack": "5.73.0", | ||||||
|         "webpack-cli": "4.9.2" |         "webpack-cli": "4.9.2" | ||||||
|       }, |       }, | ||||||
|       "optionalDependencies": { |       "optionalDependencies": { | ||||||
| @@ -10196,9 +10196,9 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/webpack": { |     "node_modules/webpack": { | ||||||
|       "version": "5.72.1", |       "version": "5.73.0", | ||||||
|       "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.72.1.tgz", |       "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.73.0.tgz", | ||||||
|       "integrity": "sha512-dXG5zXCLspQR4krZVR6QgajnZOjW2K/djHvdcRaDQvsjV9z9vaW6+ja5dZOYbqBBjF6kGXka/2ZyxNdc+8Jung==", |       "integrity": "sha512-svjudQRPPa0YiOYa2lM/Gacw0r6PvxptHj4FuEKQ2kX05ZLkjbVc5MnPs6its5j7IZljnIqSVo/OsY2X0IpHGA==", | ||||||
|       "dev": true, |       "dev": true, | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|         "@types/eslint-scope": "^3.7.3", |         "@types/eslint-scope": "^3.7.3", | ||||||
| @@ -18663,9 +18663,9 @@ | |||||||
|       "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==" |       "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==" | ||||||
|     }, |     }, | ||||||
|     "webpack": { |     "webpack": { | ||||||
|       "version": "5.72.1", |       "version": "5.73.0", | ||||||
|       "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.72.1.tgz", |       "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.73.0.tgz", | ||||||
|       "integrity": "sha512-dXG5zXCLspQR4krZVR6QgajnZOjW2K/djHvdcRaDQvsjV9z9vaW6+ja5dZOYbqBBjF6kGXka/2ZyxNdc+8Jung==", |       "integrity": "sha512-svjudQRPPa0YiOYa2lM/Gacw0r6PvxptHj4FuEKQ2kX05ZLkjbVc5MnPs6its5j7IZljnIqSVo/OsY2X0IpHGA==", | ||||||
|       "dev": true, |       "dev": true, | ||||||
|       "requires": { |       "requires": { | ||||||
|         "@types/eslint-scope": "^3.7.3", |         "@types/eslint-scope": "^3.7.3", | ||||||
|   | |||||||
| @@ -94,7 +94,7 @@ | |||||||
|     "jsdoc": "3.6.10", |     "jsdoc": "3.6.10", | ||||||
|     "lorem-ipsum": "2.0.4", |     "lorem-ipsum": "2.0.4", | ||||||
|     "rcedit": "3.0.1", |     "rcedit": "3.0.1", | ||||||
|     "webpack": "5.72.1", |     "webpack": "5.73.0", | ||||||
|     "webpack-cli": "4.9.2" |     "webpack-cli": "4.9.2" | ||||||
|   }, |   }, | ||||||
|   "optionalDependencies": { |   "optionalDependencies": { | ||||||
|   | |||||||
| @@ -140,7 +140,6 @@ function initNoteAutocomplete($el, options) { | |||||||
|         appendTo: document.querySelector('body'), |         appendTo: document.querySelector('body'), | ||||||
|         hint: false, |         hint: false, | ||||||
|         autoselect: true, |         autoselect: true, | ||||||
|         openOnFocus: true, |  | ||||||
|         minLength: 0, |         minLength: 0, | ||||||
|         tabAutocomplete: false |         tabAutocomplete: false | ||||||
|     }, [ |     }, [ | ||||||
| @@ -270,7 +269,6 @@ function init() { | |||||||
| } | } | ||||||
|  |  | ||||||
| export default { | export default { | ||||||
|     autocompleteSource, |  | ||||||
|     autocompleteSourceForCKEditor, |     autocompleteSourceForCKEditor, | ||||||
|     initNoteAutocomplete, |     initNoteAutocomplete, | ||||||
|     showRecentNotes, |     showRecentNotes, | ||||||
|   | |||||||
| @@ -35,6 +35,7 @@ | |||||||
|                         </div> |                         </div> | ||||||
|  |  | ||||||
|                         <div class="form-group" id="add-link-title-form-group"> |                         <div class="form-group" id="add-link-title-form-group"> | ||||||
|  |                             <br/> | ||||||
|                             <label for="link-title">Link title</label> |                             <label for="link-title">Link title</label> | ||||||
|                             <input id="link-title" class="form-control" style="width: 100%;"> |                             <input id="link-title" class="form-control" style="width: 100%;"> | ||||||
|                         </div> |                         </div> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user