aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/views/home.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/views/home.js')
-rw-r--r--www/js/views/home.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/www/js/views/home.js b/www/js/views/home.js
index 0a0480f..9c169a9 100644
--- a/www/js/views/home.js
+++ b/www/js/views/home.js
@@ -27,6 +27,8 @@
navigator.connection.type == Connection.UNKNOWN ) ) {
localStorage.offline = 1;
this.navigate( 'no_connection' );
+ } else if ( FMS.currentDraft && FMS.currentDraft.get('lat') ) {
+ this.navigate( 'existing' );
} else {
this.navigate( 'around' );
}