Remove auto map marker placement on incoming job order form

This commit is contained in:
Ramon Gutierrez 2018-01-31 03:38:57 +08:00
parent 9d74fd9a1d
commit e69ece1e48

View file

@ -595,9 +595,11 @@ $(function() {
}
});
// check if we need to set map
var latlng = new google.maps.LatLng({{ obj.getCoordinates.getLatitude }}, {{ obj.getCoordinates.getLongitude }});
selectPoint(map, latlng);
{% if mode != 'create' %}
// check if we need to set map
var latlng = new google.maps.LatLng({{ obj.getCoordinates.getLatitude }}, {{ obj.getCoordinates.getLongitude }});
selectPoint(map, latlng);
{% endif %}
{% if mode == 'update-processing' %}
// display outlet map