Skip to content

Commit

Permalink
check lat,lon undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorch committed Dec 22, 2024
1 parent 3cd8a11 commit 82d3d14
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions js/inbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,16 @@ function accept(id) {
return;
}

console.log("lat: " + lat);
console.log("lon: " + lon);

var inboxCommand = {
id: id,
countryCode: countryCode,
stationId: stationId ? stationId : "Z",
title: title,
lat: lat,
lon: lon,
lat: lat ? lat : null,
lon: lon ? lon : null,
command: command,
conflictResolution: conflictResolution,
DS100: ds100,
Expand Down

0 comments on commit 82d3d14

Please sign in to comment.