Commit fe359ca1 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

when terms of use aren't defined user is not ask to accept them

additionally changelog updated
parent c39ac79e
minerva (11.1.0) stable; urgency=high minerva (11.1.0) stable; urgency=high
* User can provide Google Maps API key that must be registered in google * User can provide Google Maps API key that must be registered in google
cloud account cloud account
* User data overlays must be Google Maps API terms of use compliant
-- Piotr Gawron <piotr.gawron@uni.lu> Mon, 14 May 2018 9:00:00 +0200 * Terms of Use added
-- Piotr Gawron <piotr.gawron@uni.lu> Tue, 05 Jun 2018 9:00:00 +0200
minerva (11.0.10) stable; urgency=medium minerva (11.0.10) stable; urgency=medium
* Bug fix: link from overview image to search result was broken * Bug fix: link from overview image to search result was broken
......
...@@ -58,6 +58,9 @@ function processUrlGetParams(params) { ...@@ -58,6 +58,9 @@ function processUrlGetParams(params) {
} }
function requestConsent(user, termsOfUseUrl) { function requestConsent(user, termsOfUseUrl) {
if (termsOfUseUrl === "") {
return;
}
var dialog = document.createElement("div"); var dialog = document.createElement("div");
var dialogContent = document.createElement("div"); var dialogContent = document.createElement("div");
dialogContent.appendChild(functions.createElement({ dialogContent.appendChild(functions.createElement({
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment