diff options
author | Struan Donald <struan@exo.org.uk> | 2013-06-19 13:50:36 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2013-06-19 13:50:36 +0100 |
commit | 7b3875984223b811a69fd914a17b87bc31086ba2 (patch) | |
tree | 5b3f46b04ba760e86ad184934311fb567a4233ae /www/js/views/around.js | |
parent | ac5ac87248040e10f035154f6c17d91340b21c00 (diff) |
if a list of user titles is provided by the server ask for and require one
Diffstat (limited to 'www/js/views/around.js')
-rw-r--r-- | www/js/views/around.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/www/js/views/around.js b/www/js/views/around.js index 834c442..83df50b 100644 --- a/www/js/views/around.js +++ b/www/js/views/around.js @@ -197,6 +197,9 @@ this.model.set('lat', info.coordinates.latitude ); this.model.set('lon', info.coordinates.longitude ); this.model.set('categories', info.details.category ); + if ( info.details.title_list ) { + this.model.set('title_list', info.details.title_list); + } FMS.saveCurrentDraft(); this.navigate( 'photo' ); |