aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/js/mobile.js5
-rw-r--r--www/photo.html4
2 files changed, 7 insertions, 2 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) {
diff --git a/www/photo.html b/www/photo.html
index 925bc3a..dfa61b9 100644
--- a/www/photo.html
+++ b/www/photo.html
@@ -1,7 +1,7 @@
<div id="photo-page" class="wrapper" data-role="page" data-add-back-btn="true">
<div data-role="header" data-position="fixed" data-id="locate">
<h1>Add Photo</h1>
- <a href="details.html" data-icon="arrow-r" data-iconpos="right" class="ui-btn-right">Next</a>
+ <a href="details.html" id="photo-next-btn" data-icon="arrow-r" data-iconpos="right" class="ui-btn-right">Skip</a>
</div>
<div class="container" data-enhance="false">
<div class="content" role="main">
@@ -9,7 +9,7 @@
<fieldset>
<div id="problem_form">
<div id="add_photo">
- <label>Add a Photo</label>
+ <label>Optionally Add a Photo</label>
<input value="Take Photo" type="button" name="photo_button" id="id_photo_button" class="green-btn"> Or
<input value="Choose" type="button" name="existing" id="id_existing" class="green-btn">
</div>