summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2016-12-21 15:37:36 -0800
committerMark Wells <mark@freeside.biz>2016-12-21 15:37:36 -0800
commit0fa98e9782d550147a68a00d7ee75079ad331666 (patch)
treecdb726233df97e69e2047c636b63d7ba20b27857 /httemplate
parent89d30bbd2b79d9b1de0890eec86234bc9d3ce330 (diff)
parentc5412ade1a2ce0eb26ffa37d1f3a1540760b2150 (diff)
Merge branch 'FREESIDE_3_BRANCH' of git.freeside.biz:/home/git/freeside into 3.x
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/view/directions.html3
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%>;
}
});
}