use main url for OpenLayers.js

svn: r17951
This commit is contained in:
Jérôme Rapinat 2011-07-24 12:38:00 +00:00
parent 490492bd55
commit 5a6ddb8b60

View File

@ -2600,7 +2600,7 @@ class PlacePage(BasePage):
# try to add OpenLayers specific javascript code ... # try to add OpenLayers specific javascript code ...
if self.mapservice == "OpenStreetMap": if self.mapservice == "OpenStreetMap":
head += Html("script", type ="text/javascript", head += Html("script", type ="text/javascript",
src ="http://www.openstreetmap.org/openlayers/OpenLayers.js", inline =True) src ="http://www.openlayers.org/api/OpenLayers.js", inline =True)
# section title # section title
placedetail += Html("h4", _("Place Map"), inline =True) placedetail += Html("h4", _("Place Map"), inline =True)