summaryrefslogtreecommitdiff
path: root/main/widgets.py
diff options
context:
space:
mode:
Diffstat (limited to 'main/widgets.py')
-rw-r--r--main/widgets.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/main/widgets.py b/main/widgets.py
index a247edc..21dd464 100644
--- a/main/widgets.py
+++ b/main/widgets.py
@@ -92,8 +92,7 @@ value='%f'/></p>
<input type='hidden' name='%s' id='id_%s' value="%s"/>
""" % (_("Latitude"), value_y, _("Longitude"), value_x, name, name, val)
tpl += """<script type='text/javascript'><!--
-init();
-"""
+init();"""
if value:
tpl += '''var mylonlat = new OpenLayers.LonLat(%f,%f);
putMarker(mylonlat.transform(epsg_display_projection,