Remove auto map marker placement on incoming job order form
This commit is contained in:
parent
9d74fd9a1d
commit
e69ece1e48
1 changed files with 5 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue