[freeside-commits] branch master updated. 2eaa7b15a2ebd93b87d01330179244890ee227ba
Jonathan Prykop
jonathan at 420.am
Tue Dec 20 12:39:08 PST 2016
The branch, master has been updated
via 2eaa7b15a2ebd93b87d01330179244890ee227ba (commit)
from 80bfc5e1b11694553ddaa48e3b181462cfadc9dd (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2eaa7b15a2ebd93b87d01330179244890ee227ba
Author: Jonathan Prykop <jonathan at freeside.biz>
Date: Tue Dec 20 14:38:36 2016 -0600
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 8377d12..1c99cda 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%>;
}
});
}
-----------------------------------------------------------------------
Summary of changes:
httemplate/view/directions.html | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
More information about the freeside-commits
mailing list