projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34bc468
)
reverting the javascript change in changeset 10926, that needs to be specific to...
author
Shaun McDonald
<shaun@shaunmcdonald.me.uk>
Fri, 10 Oct 2008 13:27:21 +0000
(13:27 +0000)
committer
Shaun McDonald
<shaun@shaunmcdonald.me.uk>
Fri, 10 Oct 2008 13:27:21 +0000
(13:27 +0000)
public/javascripts/map.js
patch
|
blob
|
history
diff --git
a/public/javascripts/map.js
b/public/javascripts/map.js
index 3e6d687b0faac740c10d212c637e4ca9870af9e4..c2ddf9c391fb7cb461a3c3f4aed48b933638989e 100644
(file)
--- 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) {