projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a35aeec
)
Disable keyboard control of the map as it causes problems by catching
author
Tom Hughes
<tom@compton.nu>
Sun, 3 Feb 2008 23:57:37 +0000
(23:57 +0000)
committer
Tom Hughes
<tom@compton.nu>
Sun, 3 Feb 2008 23:57:37 +0000
(23:57 +0000)
keypresses in other parts of the page. Closes #659.
public/javascripts/map.js
patch
|
blob
|
history
diff --git
a/public/javascripts/map.js
b/public/javascripts/map.js
index abbc7f8eaa9a81860a96836f2b5a7f255fcfeeb9..e4e808a673b05ef72036a6a8902f60b32ba513fa 100644
(file)
--- a/
public/javascripts/map.js
+++ b/
public/javascripts/map.js
@@
-29,7
+29,7
@@
function createMap(divName) {
map.addLayer(markers);
map.addControl(new OpenLayers.Control.LayerSwitcher());
- map.addControl(new OpenLayers.Control.KeyboardDefaults());
+
//
map.addControl(new OpenLayers.Control.KeyboardDefaults());
return map;
}