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

The correct ajax call

parent 97032ae8
No related branches found
No related tags found
No related merge requests found
...@@ -59,8 +59,8 @@ var initMap = function () ...@@ -59,8 +59,8 @@ var initMap = function ()
}) })
}); });
} }
//ajax(hostName + "/rest/forecastresults/-1000", function(e){ ajax(hostName + "/rest/forecastresults/-1000", function(e){
ajax("http://vipslogic-local.no/rest/forecastresults/-1000", function(e){ //ajax("http://vipslogic-local.no/rest/forecastresults/-1000", function(e){
results = JSON.parse(e.target.responseText); results = JSON.parse(e.target.responseText);
var currentDay = todayAtMidnight; var currentDay = todayAtMidnight;
for(var mapName in maps) for(var mapName in maps)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment