aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/src/cgeo/geocaching/connector/gc/GCParser.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/main/src/cgeo/geocaching/connector/gc/GCParser.java b/main/src/cgeo/geocaching/connector/gc/GCParser.java
index d4e1999..ca29f27 100644
--- a/main/src/cgeo/geocaching/connector/gc/GCParser.java
+++ b/main/src/cgeo/geocaching/connector/gc/GCParser.java
@@ -1159,17 +1159,17 @@ public abstract class GCParser {
"ctl00$ContentBody$LogBookPanel1$tbCode", trackingCode);
Login.putViewstates(params, viewstates);
if (currentDate.get(Calendar.YEAR) == year && (currentDate.get(Calendar.MONTH) + 1) == month && currentDate.get(Calendar.DATE) == day) {
- params.put("ctl00$ContentBody$LogBookPanel1$DateTimeLogged", "");
+ params.put("ctl00$ContentBody$LogBookPanel1$uxDateVisited", "");
} else {
- params.put("ctl00$ContentBody$LogBookPanel1$DateTimeLogged", Integer.toString(month) + "/" + Integer.toString(day) + "/" + Integer.toString(year));
+ params.put("ctl00$ContentBody$LogBookPanel1$uxDateVisited", Integer.toString(month) + "/" + Integer.toString(day) + "/" + Integer.toString(year));
}
params.put(
- "ctl00$ContentBody$LogBookPanel1$DateTimeLogged$Day", Integer.toString(day),
- "ctl00$ContentBody$LogBookPanel1$DateTimeLogged$Month", Integer.toString(month),
- "ctl00$ContentBody$LogBookPanel1$DateTimeLogged$Year", Integer.toString(year),
+ "ctl00$ContentBody$LogBookPanel1$uxDateVisited$Day", Integer.toString(day),
+ "ctl00$ContentBody$LogBookPanel1$uxDateVisited$Month", Integer.toString(month),
+ "ctl00$ContentBody$LogBookPanel1$uxDateVisited$Year", Integer.toString(year),
"ctl00$ContentBody$LogBookPanel1$uxLogInfo", logInfo,
- "ctl00$ContentBody$LogBookPanel1$LogButton", "Submit Log Entry",
- "ctl00$ContentBody$uxVistOtherListingGC", "");
+ "ctl00$ContentBody$LogBookPanel1$btnSubmitLog", "Submit Log Entry",
+ "ctl00$ContentBody$uxVistOtherTrackableTB", "");
final String uri = new Uri.Builder().scheme("http").authority("www.geocaching.com").path("/track/log.aspx").encodedQuery("wid=" + tbid).build().toString();
final String page = Login.postRequestLogged(uri, params);