Skip to content

Commit

Permalink
Fixed preview for Geo Limits and Metadata wizard thumbnail
Browse files Browse the repository at this point in the history
  • Loading branch information
mtnorthcott committed Aug 31, 2020
1 parent 7422ccb commit ec1daa4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion geonode/client/templates/ol/layers/layer_ol2_map.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<script type="text/javascript">
document.addEventListener("DOMContentLoaded", function (event) {
{% if resource.ll_bbox %}
var bbox = [{{ resource.ll_bbox_string }}];
var bbox = [{{ resource.bbox_string }}];
{% else %}
var bbox = null;
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion geonode/templates/_permissions_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ <h4 class="modal-title" id="exampleModalLabel">{% trans "Message box" %}</h4>

/* OpenLayers */
{% if resource.ll_bbox %}
var bbox = [{{ resource.ll_bbox_string }}];
var bbox = [{{ resource.bbox_string }}];
{% else %}
var bbox = null;
{% endif %}
Expand Down

0 comments on commit ec1daa4

Please sign in to comment.