Make Tags On This Page do nothing when in expression mode.
This commit is contained in:
		
							parent
							
								
									d95eac4bb6
								
							
						
					
					
						commit
						5d53d68cec
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		|  | @ -301,6 +301,11 @@ function add_searchtag(box, value, inputted_list, li_class) | ||||||
|     Called by hitting Enter within a must/may/forbid field. Checks whether the tag exists |     Called by hitting Enter within a must/may/forbid field. Checks whether the tag exists | ||||||
|     and adds it to the query. |     and adds it to the query. | ||||||
|     */ |     */ | ||||||
|  |     if (box.offsetParent === null) | ||||||
|  |     { | ||||||
|  |         // The box is hidden probably because we're in Expression mode. | ||||||
|  |         return; | ||||||
|  |     } | ||||||
|     console.log("adding " + value); |     console.log("adding " + value); | ||||||
|     var already_have = false; |     var already_have = false; | ||||||
|     // We're going to be doing some in-place splicing to remove, |     // We're going to be doing some in-place splicing to remove, | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue