From 4da22eee1acaa77e9059baf1eaa71f302d2ba20f Mon Sep 17 00:00:00 2001 From: Shaun McDonald Date: Fri, 10 Oct 2008 13:27:21 +0000 Subject: [PATCH] reverting the javascript change in changeset 10926, that needs to be specific to each rails setup (if run out of another dir), until we turn the file into an erb that can insert the rails root into the javascript file --- public/javascripts/map.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/javascripts/map.js b/public/javascripts/map.js index 3e6d687b0..c2ddf9c39 100644 --- a/public/javascripts/map.js +++ b/public/javascripts/map.js @@ -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) { -- 2.43.2