[Advanced Logbook] Fixed Quickfilters if eQSL or LoTW columns are hidden
这个提交包含在:
		
							父节点
							
								
									9d73c30f91
								
							
						
					
					
						当前提交
						6430ad5692
					
				
					共有  2 个文件被更改,包括 13 次插入 和 5 次删除
				
			
		|  | @ -402,15 +402,23 @@ $(document).ready(function () { | ||||||
| 			alert("Only 1 row can be selected"); | 			alert("Only 1 row can be selected"); | ||||||
| 			//popup message that only 1 row can be selected
 | 			//popup message that only 1 row can be selected
 | ||||||
| 		} | 		} | ||||||
|  | 		var offset = 0; | ||||||
|  | 
 | ||||||
|  | 		if (!$(".eqslconfirmation")[0]){ | ||||||
|  | 			offset--; | ||||||
|  | 		} | ||||||
|  | 		if (!$(".lotwconfirmation")[0]){ | ||||||
|  | 			offset--; | ||||||
|  | 		} | ||||||
| 		elements.each(function() { | 		elements.each(function() { | ||||||
| 			var currentRow = $(this).first().closest('tr'); | 			var currentRow = $(this).first().closest('tr'); | ||||||
| 			var col1 = '';  | 			var col1 = '';  | ||||||
| 			switch (type) { | 			switch (type) { | ||||||
| 				case 'dxcc': col1 = currentRow.find("td:eq(16)").html(); col1 = col1.match(/\d/g); col1 = col1.join("");break; | 				case 'dxcc': 	var tdoffset = (offset + 16); col1 = currentRow.find("td:eq("+tdoffset+")").html(); col1 = col1.match(/\d/g); col1 = col1.join(""); break; | ||||||
|  | 				case 'cqzone': var tdoffset = (offset + 18); col1 = currentRow.find("td:eq("+tdoffset+")").text(); break; | ||||||
|  | 				case 'iota': var tdoffset = (offset + 19); col1 = currentRow.find("td:eq("+tdoffset+")").text(); col1 = col1.trim(); break; | ||||||
|  | 				case 'state': var tdoffset = (offset + 17); col1 = currentRow.find("td:eq("+tdoffset+")").text(); break; | ||||||
| 				case 'dx': col1 = currentRow.find("td:eq(3)").text(); col1 = col1.match(/^([^\s]+)/gm); break; | 				case 'dx': col1 = currentRow.find("td:eq(3)").text(); col1 = col1.match(/^([^\s]+)/gm); break; | ||||||
| 				case 'iota': col1 = currentRow.find("td:eq(19)").text(); col1 = col1.trim(); break; |  | ||||||
| 				case 'state': col1 = currentRow.find("td:eq(17)").text(); break; |  | ||||||
| 				case 'cqzone': col1 = currentRow.find("td:eq(18)").text(); break; |  | ||||||
| 				case 'gridsquare': col1 = $(currentRow).find('#dxgrid').text(); col1 = col1.substring(0, 4); break; | 				case 'gridsquare': col1 = $(currentRow).find('#dxgrid').text(); col1 = col1.substring(0, 4); break; | ||||||
| 				case 'mode': col1 = currentRow.find("td:eq(4)").text(); break; | 				case 'mode': col1 = currentRow.find("td:eq(4)").text(); break; | ||||||
| 				case 'band': col1 = currentRow.find("td:eq(7)").text(); col1 = col1.match(/\S\w*/); break; | 				case 'band': col1 = currentRow.find("td:eq(7)").text(); col1 = col1.match(/\S\w*/); break; | ||||||
|  |  | ||||||
|  | @ -15,7 +15,7 @@ class QSO | ||||||
| 	private string $dx; | 	private string $dx; | ||||||
| 	private string $mode; | 	private string $mode; | ||||||
| 	private string $submode; | 	private string $submode; | ||||||
| 	private string $band; | 	private ?string $band; | ||||||
| 	private string $bandRX; | 	private string $bandRX; | ||||||
| 	private string $rstR; | 	private string $rstR; | ||||||
| 	private string $rstS; | 	private string $rstS; | ||||||
|  |  | ||||||
		正在加载…
	
		在新工单中引用