warning if some qso have no band/mode
这个提交包含在:
		
							父节点
							
								
									ed0b1fc730
								
							
						
					
					
						当前提交
						0bcb76fdc6
					
				
					共有  1 个文件被更改,包括 13 次插入 和 6 次删除
				
			
		|  | @ -622,7 +622,19 @@ $(".js-save-to-log").click(function () { | ||||||
| 		setTimeout(function() { | 		setTimeout(function() { | ||||||
| 			$('#textarea').css('border', ''); | 			$('#textarea').css('border', ''); | ||||||
| 		  }, 2000); | 		  }, 2000); | ||||||
| 	}else { | 	} | ||||||
|  | 	if (false === isBandModeEntered()) { | ||||||
|  | 		BootstrapDialog.alert({ | ||||||
|  | 			title: "WARNING", | ||||||
|  | 			message: "Warning! You can't log the QSO list because some QSO do not have band and/or mode defined!?", | ||||||
|  | 			type: BootstrapDialog.TYPE_DANGER, | ||||||
|  | 			btnCancelLabel: "Cancel", | ||||||
|  | 			btnOKLabel: "OK!", | ||||||
|  | 			btnOKClass: "btn-warning", | ||||||
|  | 		}); | ||||||
|  | 		return false; | ||||||
|  | 	} | ||||||
|  | 	else { | ||||||
| 		handleInput(); | 		handleInput(); | ||||||
| 		BootstrapDialog.confirm({ | 		BootstrapDialog.confirm({ | ||||||
| 			title: "ATTENTION", | 			title: "ATTENTION", | ||||||
|  | @ -634,11 +646,6 @@ $(".js-save-to-log").click(function () { | ||||||
| 			btnOKClass: "btn-info", | 			btnOKClass: "btn-info", | ||||||
| 			callback: function (result) { | 			callback: function (result) { | ||||||
| 				if (result) { | 				if (result) { | ||||||
| 					if (false === isBandModeEntered()) { |  | ||||||
| 						alert("Some QSO do not have band and/or mode defined!"); |  | ||||||
| 
 |  | ||||||
| 						return false; |  | ||||||
| 					} |  | ||||||
| 					var operator = $("#operator").val(); | 					var operator = $("#operator").val(); | ||||||
| 					operator = operator.toUpperCase(); | 					operator = operator.toUpperCase(); | ||||||
| 					var ownCallsign = $("#station-call").val().toUpperCase(); | 					var ownCallsign = $("#station-call").val().toUpperCase(); | ||||||
|  |  | ||||||
		正在加载…
	
		在新工单中引用