[freeside-commits] branch FREESIDE_3_BRANCH updated. b316b29237a32eb3b36f0a5949b65b3791df32d4
Jonathan Prykop
jonathan at 420.am
Tue Dec 20 12:53:55 PST 2016
The branch, FREESIDE_3_BRANCH has been updated
via b316b29237a32eb3b36f0a5949b65b3791df32d4 (commit)
from 8bf1e6cd5d0036c7c84076f2599ffecec3ef84db (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 b316b29237a32eb3b36f0a5949b65b3791df32d4
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