aboutsummaryrefslogtreecommitdiffstats
path: root/www/js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js')
-rw-r--r--www/js/locate.js10
-rw-r--r--www/js/views/around.js4
2 files changed, 7 insertions, 7 deletions
diff --git a/www/js/locate.js b/www/js/locate.js
index 4122662..451a16c 100644
--- a/www/js/locate.js
+++ b/www/js/locate.js
@@ -4,7 +4,7 @@ var Locate = ( function() { return {
lookup: function(q) {
var that = this;
if (!q) {
- this.trigger('failed', { msg: STRINGS.missing_location } );
+ this.trigger('failed', { msg: FMS.strings.missing_location } );
return false;
}
@@ -24,11 +24,11 @@ var Locate = ( function() { return {
that.trigger( 'failed', { msg: data.error } );
}
} else {
- that.trigger( 'failed', { msg: STRINGS.location_problem } );
+ that.trigger( 'failed', { msg: FMS.strings.location_problem } );
}
},
error: function(data, status, errorThrown) {
- that.trigger( 'failed', { msg: STRINGS.location_problem } );
+ that.trigger( 'failed', { msg: FMS.strings.location_problem } );
}
} );
},
@@ -57,7 +57,7 @@ var Locate = ( function() { return {
navigator.geolocation.clearWatch( that.watch_id );
$('#ajaxOverlay').hide();
- that.trigger('failed', { msg: STRINGS.geolocation_failed } );
+ that.trigger('failed', { msg: FMS.strings.geolocation_failed } );
},
{ timeout: 7000, enableHighAccuracy: true }
);
@@ -81,7 +81,7 @@ var Locate = ( function() { return {
that.trigger('located', { coordinates: coords, details: data } )
},
error: function (data, status, errorThrown) {
- that.trigger('failed', { msg: STRINGS.location_check_failed } );
+ that.trigger('failed', { msg: FMS.strings.location_check_failed } );
}
} );
}
diff --git a/www/js/views/around.js b/www/js/views/around.js
index a8a7def..2c9b418 100644
--- a/www/js/views/around.js
+++ b/www/js/views/around.js
@@ -53,9 +53,9 @@
if ( details.msg ) {
this.displayError( details.msg );
} else if ( details.locs ) {
- this.displayError( STRINGS.multiple_locations );
+ this.displayError( FMS.strings.multiple_locations );
} else {
- this.displayError( STRINGS.location_problem );
+ this.displayError( FMS.strings.location_problem );
}
},