Commit 569af577 authored by Matija Obreza's avatar Matija Obreza

WorldClim chart JS not included for anonymous visitors

parent eeb20e3e
......@@ -740,7 +740,7 @@
var marker = L.marker([${accessionGeo.latitude}, ${accessionGeo.longitude}]).addTo(map);
});
</script>
</c:if> <security:authorize access="isAuthenticated()">
</c:if>
<c:if test="${worldclimJson ne null}">
<script type="text/javascript">
var monthNames = ${jspHelper.toJson(jspHelper.monthShortNames(pageContext.response.locale))};
......@@ -793,9 +793,11 @@
});
</script>
</c:if>
</security:authorize> <script type="text/javascript">
<script type="text/javascript">
<%@include file="/WEB-INF/jsp/wiews/ga.jsp"%>
_pageDim = { institute: '${accession.instituteCode}', genus: '${accession.taxonomy.genus}' };
</script> </content>
</script>
</content>
</body>
</html>
\ No newline at end of file
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