aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/locate.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/locate.js')
-rw-r--r--www/js/locate.js10
1 files changed, 5 insertions, 5 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 } );
}
} );
}