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
* User can provide Google Maps API key that must be registered in google
cloud account
-- Piotr Gawron <piotr.gawron@uni.lu> Mon, 14 May 2018 9:00:00 +0200
* User data overlays must be Google Maps API terms of use compliant
* 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
* Bug fix: link from overview image to search result was broken
......
......@@ -58,6 +58,9 @@ function processUrlGetParams(params) {
}
function requestConsent(user, termsOfUseUrl) {
if (termsOfUseUrl === "") {
return;
}
var dialog = document.createElement("div");
var dialogContent = document.createElement("div");
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