From 1d3202710af6f125cf825630cdafdef17f48f40b Mon Sep 17 00:00:00 2001 From: Serge Noiraud Date: Wed, 28 Nov 2018 03:43:40 +0100 Subject: [PATCH] Narrative web : use latest version from openlayers. (#713) Fixes #10884 --- gramps/plugins/webreport/person.py | 4 ++-- gramps/plugins/webreport/place.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gramps/plugins/webreport/person.py b/gramps/plugins/webreport/person.py index 79f8609bd..fed508723 100644 --- a/gramps/plugins/webreport/person.py +++ b/gramps/plugins/webreport/person.py @@ -693,11 +693,11 @@ class PersonPages(BasePage): head += Html("script", type="text/javascript", src=src_js, inline=True) src_js = self.secure_mode - src_js += "openlayers.org/en/v3.17.1/build/ol.js" + src_js += "openlayers.org/en/latest/build/ol.js" head += Html("script", type="text/javascript", src=src_js, inline=True) url = self.secure_mode - url += "openlayers.org/en/v3.17.1/css/ol.css" + url += "openlayers.org/en/latest/css/ol.css" head += Html("link", href=url, type="text/javascript", rel="stylesheet") src_js = self.secure_mode diff --git a/gramps/plugins/webreport/place.py b/gramps/plugins/webreport/place.py index 960c98323..05026a4a9 100644 --- a/gramps/plugins/webreport/place.py +++ b/gramps/plugins/webreport/place.py @@ -375,11 +375,11 @@ class PlacePages(BasePage): head += Html("script", type="text/javascript", src=src_js, inline=True) src_js = self.secure_mode - src_js += "openlayers.org/en/v3.17.1/build/ol.js" + src_js += "openlayers.org/en/latest/build/ol.js" head += Html("script", type="text/javascript", src=src_js, inline=True) url = self.secure_mode - url += "openlayers.org/en/v3.17.1/css/ol.css" + url += "openlayers.org/en/latest/css/ol.css" head += Html("link", href=url, type="text/javascript", rel="stylesheet") src_js = self.secure_mode