diff options
author | Struan Donald <struan@exo.org.uk> | 2012-11-30 16:00:14 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-11-30 16:00:14 +0000 |
commit | ee83279fe540754ccae130bc493287655306f7ae (patch) | |
tree | 67a95d1f0dc1e9d983d63277c86501b2ea822716 /www/js/mobile.js | |
parent | e62026546eb68f352d3341b69dac0609d3d590b3 (diff) |
make it a bit more obvious that photo taking is optional
Diffstat (limited to 'www/js/mobile.js')
-rw-r--r-- | www/js/mobile.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/www/js/mobile.js b/www/js/mobile.js index c0ffe23..e87cecd 100644 --- a/www/js/mobile.js +++ b/www/js/mobile.js @@ -258,6 +258,9 @@ function prep_photo_page() { $('#photo').attr('src', report.file()); $('#add_photo').hide(); $('#display_photo').show(); + $('#photo-next-btn .ui-btn-text').text('Next'); + } else { + $('#photo-next-btn .ui-btn-text').text('Skip'); } } @@ -427,6 +430,7 @@ function takePhotoSuccess(imageURI) { $('#photo').attr('src', imageURI ); $('#add_photo').hide(); $('#display_photo').show(); + $('#photo-next-btn .ui-btn-text').text('Next'); } function delPhoto() { @@ -434,6 +438,7 @@ function delPhoto() { $('#photo').attr('src', '' ); $('#display_photo').hide(); $('#add_photo').show(); + $('#photo-next-btn .ui-btn-text').text('Skip'); } function takePhotoFail(message) { |