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

Bugfix: Reset select list before rendering weather stations

parent 02567393
No related branches found
No related tags found
2 merge requests!13Saddlegallmidge form idec 372,!12feat: Add test page (spatial) with mapserver layer in openlayers map
......@@ -90,7 +90,7 @@ function getWeatherStationList(weatherDatasource){
}
function renderWeatherStationSelectList(stationList, selectList){
selectList.options.length = 0;
selectList.add(new Option("-- Please select weather station --", -1));
for(let i=0;i<stationList.length; i++)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment