web/views/igeocodable.py
branchstable
changeset 3094 978ed8c2c0e4
parent 2868 937890e25765
child 3163 edfe43ceaa35
child 3918 0b7390acca7f
--- a/web/views/igeocodable.py	Wed Sep 02 09:31:22 2009 +0200
+++ b/web/views/igeocodable.py	Wed Sep 02 10:59:48 2009 +0200
@@ -74,6 +74,7 @@
     need_navigation = False
 
     def call(self, gmap_key, width=400, height=400, uselabel=True, urlparams=None):
+        self.req.demote_to_html()
         # remove entities that don't define latitude and longitude
         self.rset = self.rset.filtered_rset(lambda e: e.latitude and e.longitude)
         self.req.add_js('http://maps.google.com/maps?sensor=false&file=api&v=2&key=%s' % gmap_key,