aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/views/around.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/views/around.js')
-rw-r--r--src/js/views/around.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/js/views/around.js b/src/js/views/around.js
index c2047d8..e054bbd 100644
--- a/src/js/views/around.js
+++ b/src/js/views/around.js
@@ -259,7 +259,7 @@
this.navigate( 'offline' );
} else {
this.listenTo(FMS.locator, 'gps_located', this.goPhoto);
- this.listenTo(FMS.locator, 'gps_failed', this.noMap );
+ this.listenTo(FMS.locator, 'gps_failed', this.locationCheckFailed );
FMS.locator.check_location( { latitude: position.lat, longitude: position.lon } );
}
},
@@ -347,6 +347,10 @@
this.navigate( 'photo' );
},
+ locationCheckFailed: function() {
+ alert(FMS.strings.location_check_failed);
+ },
+
goSearch: function(e) {
e.preventDefault();
if ( !fixmystreet.map ) {