From 20ca76aa90f01a68c298eaa17b0aa36459476fc9 Mon Sep 17 00:00:00 2001 From: Tor-Einar Skog <tor-einar.skog@nibio.no> Date: Tue, 5 Nov 2024 09:39:40 +0100 Subject: [PATCH] Fix: Hide weatherstation list if no selection has been made (first time in current browser) --- cydiapomonella/templates/cydiapomonella/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cydiapomonella/templates/cydiapomonella/index.html b/cydiapomonella/templates/cydiapomonella/index.html index b78c3234..cbd5fe37 100644 --- a/cydiapomonella/templates/cydiapomonella/index.html +++ b/cydiapomonella/templates/cydiapomonella/index.html @@ -257,7 +257,7 @@ Created: 2024-10-28 <input type="radio" name="weatherdataType" id="weatherstation" value="weatherstation" onchange="displayWeatherstationInput();storeUserSettings();"> {% trans "from a weather station" %} </label> - <div id="input-weatherstation" class="form-inline" style="margin-top: 10px;" > + <div id="input-weatherstation" class="form-inline" style="margin-top: 10px; display: none;" > <select name="weatherStationName" id="weatherStationId" class="form-control" style="width: 60%;" onchange="runModel();storeUserSettings();"> <option value="-1">-- {% trans "Select weather station" %} --</option> </select> -- GitLab