@ -61,7 +61,11 @@
{% include 'client/popups/photo.html' %}
{% endblock %}
{% block scripts %}
{% comment %}
<script src="{% static 'client/js_min/_modules/page.place.photo.min.js' %}"></script>
{% endcomment %}
<script src="{% static 'client/js/_modules/page.place.photo.js' %}"></script>
<script>
//js module initialization
@ -21,7 +21,7 @@ if (EXPO.placePhoto){
// object properties
var self = this;
this.currentId = undefined;
this.ajaxUrl = ajaxUrl;
this.ajaxUrl = location.protocol+'//'+location.hostname+(location.port ? ':'+location.port: '') + ajaxUrl;
//modal Window options
this.opt = {
gContainerId:containerId,