Skip to content

Commit

Permalink
[Fixes: #4920] Footer Display Code on Detail Layer pages
Browse files Browse the repository at this point in the history
  • Loading branch information
t-book committed Sep 19, 2019
1 parent a97d44f commit a7e5303
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions geonode/layers/templates/layers/layer_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,7 @@ <h1>{% trans "Processing..." %}</h1>
{% include 'request_download.html' %}
{% if DISPLAY_SOCIAL %}
{% autoescape off %}
<script type='text/javascript'>
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
Expand Down Expand Up @@ -1017,12 +1018,14 @@ <h1>{% trans "Processing..." %}</h1>

{% if GEONODE_SECURITY_ENABLED %}
{% include "_permissions_form_js.html" %}
<script type='text/javascript'>
$(function() {
if (sessionStorage.getItem("security_refresh_trigger")) {
sessionStorage.clear();
$("#security_refresh").trigger('click');
}
});
</script>
{% endif %}

{% if FAVORITE_ENABLED %}
Expand Down

1 comment on commit a7e5303

@achorivai
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok thanks solved 👍

Please sign in to comment.