Skip to content

Commit

Permalink
Add the missing DELETE checkbox to 'Batch end' (#384)
Browse files Browse the repository at this point in the history
The input slice was (2, 6) due to additional test case fields in DMOJ: `output-prefix`, `output-limit`, and `checker`. These fields do not exist in the VNOJ fork, necessitating this change.
  • Loading branch information
magnified103 authored Sep 29, 2024
1 parent cce828f commit 50f7271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/problem/data.html
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@
$order.after($('<span>', {'class': 'order'}).text($order.val()))
.after($('<i>', {'class': 'fa fa-fw fa-lg fa-ellipsis-v'}));

var $opts = $tr.find('input').slice(2, 6);
var $opts = $tr.find('input').slice(2, 4);
var $files = $tr.find('select').slice(1, 3);
var $checker = $files.end().last();
$tr.find('select[id$=type]').change(function () {
Expand Down

0 comments on commit 50f7271

Please sign in to comment.