Skip to content
Snippets Groups Projects
Commit 20ca76aa authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Fix: Hide weatherstation list if no selection has been made (first time in current browser)

parent 40d9a50c
No related branches found
No related tags found
No related merge requests found
...@@ -257,7 +257,7 @@ Created: 2024-10-28 ...@@ -257,7 +257,7 @@ Created: 2024-10-28
<input type="radio" name="weatherdataType" id="weatherstation" value="weatherstation" onchange="displayWeatherstationInput();storeUserSettings();"> <input type="radio" name="weatherdataType" id="weatherstation" value="weatherstation" onchange="displayWeatherstationInput();storeUserSettings();">
{% trans "from a weather station" %} {% trans "from a weather station" %}
</label> </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();"> <select name="weatherStationName" id="weatherStationId" class="form-control" style="width: 60%;" onchange="runModel();storeUserSettings();">
<option value="-1">-- {% trans "Select weather station" %} --</option> <option value="-1">-- {% trans "Select weather station" %} --</option>
</select> </select>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment