aboutsummaryrefslogtreecommitdiffstats
path: root/www/js
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2013-06-21 14:40:33 +0100
committerStruan Donald <struan@exo.org.uk>2013-06-21 14:40:33 +0100
commit84301f5dfd5812f62ad3241b2276c3390f8f7992 (patch)
treea87642d08bf1f5bd1ecf8f5d1cde22922972d5d2 /www/js
parent7fc8a423e2a59b35b546fbd387aef359eda1af17 (diff)
turn of map dragging if map is just in background
Diffstat (limited to 'www/js')
-rw-r--r--www/js/views/around.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/www/js/views/around.js b/www/js/views/around.js
index 057241e..c37dd5d 100644
--- a/www/js/views/around.js
+++ b/www/js/views/around.js
@@ -80,6 +80,7 @@
// FIXME: not sure why I need to do this
fixmystreet.select_feature.deactivate();
fixmystreet.select_feature.activate();
+ fixmystreet.nav.activate();
},
positionUpdate: function( info ) {
@@ -272,6 +273,7 @@
this.model.set('title_list', info.details.title_list);
}
FMS.saveCurrentDraft();
+ fixmystreet.nav.deactivate();
this.navigate( 'photo' );
},