small improvements
This commit is contained in:
@@ -207,6 +207,21 @@
|
||||
$("td #id_course").hide();
|
||||
}
|
||||
|
||||
if (this.value == 'fastest_distance') {
|
||||
$("td #id_criterium").prop("value","exact");
|
||||
$("td #id_sessionunit").prop("value","m");
|
||||
$("td #id_sessionmode").prop("value","distance")
|
||||
$('#id_guidance').html("<p>For Fastest Distance, set an exact number of meters</p>");
|
||||
}
|
||||
|
||||
if (this.value == 'fastest_time') {
|
||||
$("td #id_criterium").prop("value","exact");
|
||||
$("td #id_sessionunit").prop("value","min");
|
||||
$("td #id_sessionmode").prop("value","time")
|
||||
$('#id_guidance').html("<p>For Fastest Time, set an exact number of minutes</p>");
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (this.value == 'challenge') {
|
||||
$("td #id_criterium").prop("value","minimum");
|
||||
|
||||
Reference in New Issue
Block a user