projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
73107: Map regression: now always requiring API key [show instructions during directi...
[freeside.git]
/
httemplate
/
view
/
directions.html
diff --git
a/httemplate/view/directions.html
b/httemplate/view/directions.html
index
8377d12
..
1c99cda
100644
(file)
--- 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 {
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%>;
}
});
}
}
});
}