diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2016-12-20 14:38:36 -0600 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-12-20 14:44:26 -0600 |
commit | b316b29237a32eb3b36f0a5949b65b3791df32d4 (patch) | |
tree | 9e5133a1b64f16d48b1eeeae6806ec57377e59a1 | |
parent | 8bf1e6cd5d0036c7c84076f2599ffecec3ef84db (diff) |
73107: Map regression: now always requiring API key [show instructions during directions lookup error]
-rw-r--r-- | httemplate/view/directions.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/view/directions.html b/httemplate/view/directions.html index 8377d129a..1c99cda94 100644 --- a/httemplate/view/directions.html +++ b/httemplate/view/directions.html @@ -62,7 +62,8 @@ function show_route() { if ( status == google.maps.DirectionsStatus.OK ) { directionsDisplay.setDirections(result); } else { - document.body.innerHTML = ('<P STYLE="color: red;">Directions lookup failed with the following error: '+status+'</P>'); + document.body.innerHTML = ('<P STYLE="color: red;">Directions lookup failed with the following error: '+status+'</P>') + + <% include('/elements/google_maps_api_key.html' ) |js_string%>; } }); } |