From: Jonathan Prykop Date: Tue, 20 Dec 2016 20:38:36 +0000 (-0600) Subject: 73107: Map regression: now always requiring API key [show instructions during directi... X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=2eaa7b15a2ebd93b87d01330179244890ee227ba 73107: Map regression: now always requiring API key [show instructions during directions lookup error] --- 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 = ('

Directions lookup failed with the following error: '+status+'

'); + document.body.innerHTML = ('

Directions lookup failed with the following error: '+status+'

') + + <% include('/elements/google_maps_api_key.html' ) |js_string%>; } }); }