From 5824eb6519882fb02c58de3d5e4ce1905a9a9582 Mon Sep 17 00:00:00 2001
From: Lene Wasskog <lene.wasskog@nibio.no>
Date: Tue, 29 Oct 2024 14:49:51 +0100
Subject: [PATCH] log: Remove debug logging

---
 .../templates/cerealblotchmodels/barleynetblotchform.html     | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/cerealblotchmodels/templates/cerealblotchmodels/barleynetblotchform.html b/cerealblotchmodels/templates/cerealblotchmodels/barleynetblotchform.html
index 87659ef7..177578a2 100755
--- a/cerealblotchmodels/templates/cerealblotchmodels/barleynetblotchform.html
+++ b/cerealblotchmodels/templates/cerealblotchmodels/barleynetblotchform.html
@@ -318,14 +318,12 @@
 
 	window.displayWeatherstationInput = () => {
 		radioWeatherstation.checked = true;
-		console.error("Check radioWeatherstation!")
 		document.getElementById('input-weatherstation').style.display="block";
 		document.getElementById('input-coordinates').style.display="none";
 	}
 
 	window.displayCoordinatesInput = () => {
 		radioGrid.checked = true;
-		console.error("Check radioGrid!")
 		document.getElementById('input-weatherstation').style.display="none";
 		document.getElementById('input-coordinates').style.display="block";
 		getTimezoneForSelectedPoint()
@@ -616,7 +614,6 @@
 
 			var userSettings = getLocalSettings(getNameSpaced("{{ form_id }}",formFields), false);
 			if(!isDictEmpty(userSettings)) {
-				console.error("Found previously stored usersettings", userSettings);
 				renderUserSettings(userSettings);
 				if(theForm["weatherDataSourceType"].value == "grid") {
 					displayCoordinatesInput();
@@ -626,7 +623,6 @@
 					displayCoordinatesInput();
 				}
 			} else {
-				console.error("Found no previously stored usersettings");
 				displayCoordinatesInput();
 			}
 		}).catch(function(error) {
-- 
GitLab