bug related to location coordinates and qr code
This commit is contained in:
parent
8f2ecac839
commit
26231a4353
1 changed files with 2 additions and 1 deletions
|
|
@ -602,7 +602,8 @@ function formatlocation(location) {
|
|||
}
|
||||
|
||||
function formatLocationSelection(location) {
|
||||
$(document.getElementById("coordinates_input").value = (location.latitude + ',' + location.longitude));
|
||||
if (location.latitude != null && location.latitude != null)
|
||||
$(document.getElementById("coordinates_input").value = (location.latitude + ',' + location.longitude));
|
||||
return location.text;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue