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
This commit is contained in:
parent
34bc4686cd
commit
4da22eee1a
1 changed files with 3 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue