aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/router.js
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2013-04-08 13:49:55 +0100
committerStruan Donald <struan@exo.org.uk>2013-04-08 18:52:47 +0100
commitbd3a482f3c268c6f4e31c4be0e9b2b8d6045b680 (patch)
tree3fbfc78688a6b792fc4f015cc17dc772ff9bcb8d /www/js/router.js
parent9f979f491570c6bbff8735bcfa391430543d0041 (diff)
if geolocation fails display search page with message
Diffstat (limited to 'www/js/router.js')
-rw-r--r--www/js/router.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/router.js b/www/js/router.js
index b85b361..f3153ba 100644
--- a/www/js/router.js
+++ b/www/js/router.js
@@ -38,7 +38,7 @@
},
search: function(){
- var searchView = new FMS.SearchView({ model: FMS.currentReport });
+ var searchView = new FMS.SearchView({ model: FMS.currentReport, msg: FMS.searchMessage });
this.changeView(searchView);
},