From 34fe84a144c1b35eac723429758fada9036de458 Mon Sep 17 00:00:00 2001
From: Lene Wasskog <lene.wasskog@nibio.no>
Date: Tue, 29 Oct 2024 08:10:13 +0100
Subject: [PATCH] fix: Old id

---
 .../templates/cerealblotchmodels/barleynetblotchform.html       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cerealblotchmodels/templates/cerealblotchmodels/barleynetblotchform.html b/cerealblotchmodels/templates/cerealblotchmodels/barleynetblotchform.html
index 8dde9dee..1ae14c15 100755
--- a/cerealblotchmodels/templates/cerealblotchmodels/barleynetblotchform.html
+++ b/cerealblotchmodels/templates/cerealblotchmodels/barleynetblotchform.html
@@ -288,7 +288,7 @@
 	}
 
 	window.displayCoordinatesInput = (id) => {
-		document.getElementById("coordinates").checked = true;
+		document.getElementById("grid").checked = true;
 		document.getElementById('input-weatherstation').style.display="none";
 		document.getElementById('input-coordinates').style.display="block";
 		selectWeatherstationElement.selectedIndex = 0;
-- 
GitLab