diff options
author | Struan Donald <struan@exo.org.uk> | 2013-06-26 17:49:58 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2013-06-26 17:55:46 +0100 |
commit | fbeeba515071ee319bdf89e39f50a03029288c5c (patch) | |
tree | 1eab5198212f7e045661b4bf09ea33296a1d934e /www/js | |
parent | 3530dc293497b0349dd0e2d987ee05070c7e4436 (diff) |
updated, though still not finished, locating page
Diffstat (limited to 'www/js')
-rw-r--r-- | www/js/views/around.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/www/js/views/around.js b/www/js/views/around.js index ae87d0b..34f93db 100644 --- a/www/js/views/around.js +++ b/www/js/views/around.js @@ -8,7 +8,7 @@ 'pagehide': 'destroy', 'pagebeforeshow': 'beforeDisplay', 'pageshow': 'afterDisplay', - 'vclick #locate_search': 'goSearch', + 'vclick #locate_cancel': 'goSearch', 'vclick #login-options': 'goLogin', 'vclick #view-my-reports': 'goReports', 'vclick #search': 'goSearch', @@ -314,9 +314,7 @@ goSearch: function(e) { e.preventDefault(); - this.stopListening(FMS.locator); - FMS.locator.stopTracking(); - this.navigate( 'search' ); + this.finishedLocating(); }, goLogin: function(e) { |