use default minchars again
the tag list only returns a max of 10 results, and is only called once per autocomplete, making it harder to autocomplete longer tags
This commit is contained in:
		
							parent
							
								
									d675827173
								
							
						
					
					
						commit
						df29537e74
					
				| @ -9,7 +9,7 @@ $(document).ready(function() { | |||||||
| 	//      Also use autocomplete in tag box?
 | 	//      Also use autocomplete in tag box?
 | ||||||
| 	$('.autocomplete_tags').autocomplete(base_href + '/api/internal/tag_list/complete', { | 	$('.autocomplete_tags').autocomplete(base_href + '/api/internal/tag_list/complete', { | ||||||
| 		width: 320, | 		width: 320, | ||||||
| 		max: 15, | 		max: 10, | ||||||
| 		highlight: false, | 		highlight: false, | ||||||
| 		multiple: true, | 		multiple: true, | ||||||
| 		multipleSeparator: ' ', | 		multipleSeparator: ' ', | ||||||
| @ -17,8 +17,7 @@ $(document).ready(function() { | |||||||
| 		scrollHeight: 300, | 		scrollHeight: 300, | ||||||
| 		selectFirst: false, | 		selectFirst: false, | ||||||
| 		queryParamName: 's', | 		queryParamName: 's', | ||||||
| 		delay: 150, | 		delay: 150 | ||||||
| 		minChars: 1 |  | ||||||
| 	}); | 	}); | ||||||
| 
 | 
 | ||||||
| 	$("TABLE.sortable").tablesorter(); | 	$("TABLE.sortable").tablesorter(); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user