[DOK autofill fix] Set option create to true so that entries not found in the DOK list, can be manually added. Fixed #1120
这个提交包含在:
		
							父节点
							
								
									bad229dd09
								
							
						
					
					
						当前提交
						720cf766f2
					
				
					共有  2 个文件被更改,包括 2 次插入 和 2 次删除
				
			
		|  | @ -1323,7 +1323,7 @@ $(document).ready(function(){ | ||||||
|                                 labelField: 'name', |                                 labelField: 'name', | ||||||
|                                 searchField: 'name', |                                 searchField: 'name', | ||||||
|                                 options: [], |                                 options: [], | ||||||
|                                 create: false, |                                 create: true, | ||||||
|                                 load: function(query, callback) { |                                 load: function(query, callback) { | ||||||
|                                     if (!query) return callback();  // Only trigger if 3 or more characters are entered
 |                                     if (!query) return callback();  // Only trigger if 3 or more characters are entered
 | ||||||
|                                     $.ajax({ |                                     $.ajax({ | ||||||
|  |  | ||||||
|  | @ -79,7 +79,7 @@ $( document ).ready(function() { | ||||||
| 		labelField: 'name', | 		labelField: 'name', | ||||||
| 		searchField: 'name', | 		searchField: 'name', | ||||||
| 		options: [], | 		options: [], | ||||||
| 		create: false, | 		create: true, | ||||||
| 		load: function(query, callback) { | 		load: function(query, callback) { | ||||||
| 			if (!query) return callback();  // Only trigger if at least 1 character is entered
 | 			if (!query) return callback();  // Only trigger if at least 1 character is entered
 | ||||||
| 			$.ajax({ | 			$.ajax({ | ||||||
|  |  | ||||||
		正在加载…
	
		在新工单中引用