|  |  |  | @ -227,45 +227,7 @@ function perform_query() { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 			newRow.append(newClicker); | 
			
		
	
		
			
				
					|  |  |  |  | 			newResults.append(newRow); | 
			
		
	
		
			
				
					|  |  |  |  | 			/*newResults += '<div class="results-datasheet">'; | 
			
		
	
		
			
				
					|  |  |  |  | 			if (data[i].datasheet != null) | 
			
		
	
		
			
				
					|  |  |  |  | 			newResults += '<a href="https://www.elab.kth.se/parts/getfile/' + data[i].datasheet.substring(0, data[i].datasheet.length - 4) + '"><i class="fa fa-file-text" aria-hidden="true"></i></a>'; | 
			
		
	
		
			
				
					|  |  |  |  | 			newResults += '</div>';*/ | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 			//newResults += '<div class="results-row">';
 | 
			
		
	
		
			
				
					|  |  |  |  | 			//newResults += '<a href=# onclick="show_part_info(' + data[i].id + ')">'
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 			/*newResults += '<div class="results-block">'; | 
			
		
	
		
			
				
					|  |  |  |  | 			if (data[i].block != null) | 
			
		
	
		
			
				
					|  |  |  |  | 				newResults += data[i].block; | 
			
		
	
		
			
				
					|  |  |  |  | 			newResults += '</div>';*/ | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 			/*newResults += '<div class="results-type">'; | 
			
		
	
		
			
				
					|  |  |  |  | 			if (data[i].type != null) | 
			
		
	
		
			
				
					|  |  |  |  | 				newResults += data[i].type; | 
			
		
	
		
			
				
					|  |  |  |  | 			newResults += '</div>';*/ | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 			/*newResults += '<div class="results-partno">'; | 
			
		
	
		
			
				
					|  |  |  |  | 			if (data[i].partno != null) | 
			
		
	
		
			
				
					|  |  |  |  | 				newResults += data[i].partno; | 
			
		
	
		
			
				
					|  |  |  |  | 			newResults += '</div>';*/ | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 			/*newResults += '<div class="results-description">'; | 
			
		
	
		
			
				
					|  |  |  |  | 			if (data[i].description != null) | 
			
		
	
		
			
				
					|  |  |  |  | 				newResults += data[i].description; | 
			
		
	
		
			
				
					|  |  |  |  | 			newResults += '</div>';*/ | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 			/*newResults += '<div class="results-notes">'; | 
			
		
	
		
			
				
					|  |  |  |  | 			if (data[i].notes != null && data[i].notes.length > 0) | 
			
		
	
		
			
				
					|  |  |  |  | 				newResults += '<div class="tooltip"><i class="fa fa-sticky-note"></i><span class="tooltiptext">' + data[i].notes + '</span></div>'; | 
			
		
	
		
			
				
					|  |  |  |  | 				//newResults += data[i].notes;
 | 
			
		
	
		
			
				
					|  |  |  |  | 			newResults += '</div>';*/ | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 			//newResults += '</a>'
 | 
			
		
	
		
			
				
					|  |  |  |  | 			//newResults += '</div>';
 | 
			
		
	
		
			
				
					|  |  |  |  | 		} | 
			
		
	
		
			
				
					|  |  |  |  | 		//newResults += '</div>';
 | 
			
		
	
		
			
				
					|  |  |  |  | 		if(data.length == 0) { | 
			
		
	
		
			
				
					|  |  |  |  | 				newResults = '<div class="results">'; | 
			
		
	
		
			
				
					|  |  |  |  | 				newResults += '<h3>No results.</h3>'; | 
			
		
	
	
		
			
				
					|  |  |  | 
 |