Skip to content

Commit

Permalink
update url for the search google api
Browse files Browse the repository at this point in the history
  • Loading branch information
gtsarik committed Nov 23, 2017
1 parent 582da75 commit d96b2c2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/templates/base_customer.html
Original file line number Diff line number Diff line change
Expand Up @@ -344,9 +344,7 @@ <h2>{% block title_customer %}{% endblock title_customer %}</h2>


<!-- jQuery -->
<script type="text/javascript" src="{% static 'js/jquery.min.js' %}"></script>
<script type="text/javascript" src="{% static 'js/jquery.form.min.js' %}"></script>
<script type="text/javascript" src="{% static 'js/jquery-latest.min.js' %}"></script>


<!-- JQUERY UI -->
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
Expand Down
8 changes: 7 additions & 1 deletion src/templates/customers/customer_section.html
Original file line number Diff line number Diff line change
Expand Up @@ -192,12 +192,14 @@ <h4 class="margin-bottom-30" id="aoi_selected"><b>AOI selected:</b> <span>{{ sub
<!-- AIzaSyANOITZIFVq0CxUycWsprMslU0sk9ipK5Y -->

<!-- <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?libraries=geometry&sensor=false"></script> -->

<script type="text/javascript" src="https://www.google.com/jsapi"></script>

<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?libraries=geometry"></script>

<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBbGl4HfSKF1pj1j1heEdUgn1SwSQaEaNc&libraries=places"></script>

<script type="text/javascript" src="https://www.google.com/jsapi"></script>


<script type="text/javascript">
// Get the modal
Expand Down Expand Up @@ -1159,6 +1161,10 @@ <h4 class="margin-bottom-30" id="aoi_selected"><b>AOI selected:</b> <span>{{ sub
google.maps.event.addDomListener(window, 'load', initMap);
</script>
{% endif %}

<script type="text/javascript" src="{% static 'js/jquery.min.js' %}"></script>
<script type="text/javascript" src="{% static 'js/jquery.form.min.js' %}"></script>
<script type="text/javascript" src="{% static 'js/jquery-latest.min.js' %}"></script>
{% endblock content_customer %}

{% if time_series_view %}
Expand Down

0 comments on commit d96b2c2

Please sign in to comment.