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
|
{% if mode != 'create' %}
|
||||||
var latlng = new google.maps.LatLng({{ obj.getCoordinates.getLatitude }}, {{ obj.getCoordinates.getLongitude }});
|
// check if we need to set map
|
||||||
selectPoint(map, latlng);
|
var latlng = new google.maps.LatLng({{ obj.getCoordinates.getLatitude }}, {{ obj.getCoordinates.getLongitude }});
|
||||||
|
selectPoint(map, latlng);
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if mode == 'update-processing' %}
|
{% if mode == 'update-processing' %}
|
||||||
// display outlet map
|
// display outlet map
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue