From 2eaa7b15a2ebd93b87d01330179244890ee227ba Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Tue, 20 Dec 2016 14:38:36 -0600 Subject: [PATCH] 73107: Map regression: now always requiring API key [show instructions during directions lookup error] --- httemplate/view/directions.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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%>; } }); } -- 2.11.0