aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-streetview.js
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-03-14 21:52:16 +0000
committerStruan Donald <struan@exo.org.uk>2012-03-14 21:52:16 +0000
commit91859b4f7df490001df3a54067fc01929cb0490f (patch)
treeb6b36117e2e30d80f926e40aea7f3723b61ae4df /web/js/map-streetview.js
parentf66b805206f7e28d96161fa9abc077c0a9d60b2c (diff)
parent491d21469a34b028c00eed7a0f26ff7f3725dcb0 (diff)
Merge remote-tracking branch 'origin/master' into phonegap
Diffstat (limited to 'web/js/map-streetview.js')
-rw-r--r--web/js/map-streetview.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/js/map-streetview.js b/web/js/map-streetview.js
index 99fdca983..b1ba3664d 100644
--- a/web/js/map-streetview.js
+++ b/web/js/map-streetview.js
@@ -3,7 +3,7 @@ function set_map_config(perm) {
new OpenLayers.Control.ArgParser(),
//new OpenLayers.Control.LayerSwitcher(),
new OpenLayers.Control.Navigation(),
- perm,
+ new OpenLayers.Control.Permalink(),
new OpenLayers.Control.PanZoomFMS()
];
fixmystreet.map_type = OpenLayers.Layer.StreetView;
@@ -32,7 +32,7 @@ OpenLayers.Util.OS.originalOnImageLoadError = OpenLayers.Util.onImageLoadError;
* Function: onImageLoadError
*/
OpenLayers.Util.onImageLoadError = function() {
- OpenLayers.Util.OS.originalOnImageLoadError;
+ OpenLayers.Util.OS.originalOnImageLoadError();
};
/**