Skip to content

Commit 17f876f

Browse files
committed
fix(eighth): fix attendance form autosubmission
1 parent ecb5acf commit 17f876f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

intranet/templates/eighth/take_attendance.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
{% if wizard %}
2727
<script>
2828
$(function() {
29-
$('form > select').on('change', function() {
29+
$('form select').on('change', function() {
3030
this.form.submit();
3131
});
3232

@@ -217,9 +217,9 @@ <h2>
217217
<label>
218218
<input type="checkbox" name="show_all_blocks" id="show_all_blocks" {% if show_all_blocks %} checked{% endif %}> Show Past Blocks This Year
219219
</label><br>
220-
<input type="submit" value="Next" />
220+
<!--<input type="submit" value="Next" />-->
221221
{% else %}
222-
<input type="submit" value="{% if scheduled_activity.block.locked %}Take Attendance{% else %}View Roster{% endif %}"/>
222+
<!--<input type="submit" value="{% if scheduled_activity.block.locked %}Take Attendance{% else %}View Roster{% endif %}"/>-->
223223
{% endif %}
224224
{% if sponsor_block %}
225225
<br><br>

0 commit comments

Comments
 (0)