reverting the javascript change in changeset 10926, that needs to be specific to...
authorShaun McDonald <shaun@shaunmcdonald.me.uk>
Fri, 10 Oct 2008 13:27:21 +0000 (13:27 +0000)
committerShaun McDonald <shaun@shaunmcdonald.me.uk>
Fri, 10 Oct 2008 13:27:21 +0000 (13:27 +0000)
public/javascripts/map.js

index 3e6d687b0faac740c10d212c637e4ca9870af9e4..c2ddf9c391fb7cb461a3c3f4aed48b933638989e 100644 (file)
@@ -13,7 +13,9 @@ var nonamekeys = {
 };
 
 OpenLayers._getScriptLocation = function () {
-   return "openlayers/";
+  // Should really have this file as an erb, so that this can return 
+  // the real rails root
+   return "/openlayers/";
 }
 
 function createMap(divName, options) {