From 72c00500169f8472c4b2093f09f1c01e6433c1c2 Mon Sep 17 00:00:00 2001 From: Tor-Einar Skog <tor-einar.skog@nibio.no> Date: Thu, 22 Mar 2018 10:15:11 +0100 Subject: [PATCH] A bit of tweaking --- .../webapp/public/nordic_septoria_whs/nordic_septoria_whs.css | 1 + .../webapp/public/nordic_septoria_whs/nordic_septoria_whs.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/public/nordic_septoria_whs/nordic_septoria_whs.css b/src/main/webapp/public/nordic_septoria_whs/nordic_septoria_whs.css index c547923a..334d3920 100644 --- a/src/main/webapp/public/nordic_septoria_whs/nordic_septoria_whs.css +++ b/src/main/webapp/public/nordic_septoria_whs/nordic_septoria_whs.css @@ -19,6 +19,7 @@ along with VIPSLogic. If not, see <http://www.nibio.no/licenses/>. /* Created on : Mar 15, 2018, 3:50:00 PM Author : treinar + Possible workaround for MS browsers: https://rachelandrew.co.uk/css/cheatsheets/grid-fallbacks */ #mainMap { grid-area: mainMap; height: 450px;} #subMap1 { grid-area: subMap1; height: 250px;} diff --git a/src/main/webapp/public/nordic_septoria_whs/nordic_septoria_whs.js b/src/main/webapp/public/nordic_septoria_whs/nordic_septoria_whs.js index 87d5d50a..d8d6972e 100644 --- a/src/main/webapp/public/nordic_septoria_whs/nordic_septoria_whs.js +++ b/src/main/webapp/public/nordic_septoria_whs/nordic_septoria_whs.js @@ -72,8 +72,8 @@ var initMap = function () }) }); } - //ajax(hostName + "/rest/forecastresults/-1000", function(e){ - ajax("http://vipslogic-local.no/rest/forecastresults/-1000", function(e){ + ajax(hostName + "/rest/forecastresults/-1000", function(e){ + //ajax("http://vipslogic-local.no/rest/forecastresults/-1000", function(e){ results = JSON.parse(e.target.responseText); var currentDay = todayAtMidnight; for(var mapName in maps) -- GitLab