--- a/app/soc/templates/soc/role/edit.html Sat Nov 14 23:58:20 2009 +0100
+++ b/app/soc/templates/soc/role/edit.html Sun Nov 15 22:12:20 2009 +0100
@@ -17,17 +17,13 @@
{% block scripts %}
{{ block.super }}
{% if gmaps_api_key %}
- <script src="http://maps.google.com/maps?file=api&v=2&key={{ gmaps_api_key }}" type="text/javascript"></script>
- <script type="text/javascript" src="/soc/content/js/map-090917.js"></script>
+ <script src="http://www.google.com/jsapi?key={{ gmaps_api_key }}" type="text/javascript"></script>
+ <script type="text/javascript" src="/soc/content/js/templates/soc/role/edit-091027.js"></script>
{% endif %}
{% endblock %}
{% block body_tag %}
- {% if gmaps_api_key %}
- <body onLoad="role_profile_gmap.map_load()" onunload="GUnload()">
- {% else %}
- {{ block.super }}
- {% endif %}
+{{ block.super }}
{% endblock %}
{% block instructions %}