Skip to content

Commit 50f7271

Browse files
authored
Add the missing DELETE checkbox to 'Batch end' (#384)
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.
1 parent cce828f commit 50f7271

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/problem/data.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@
277277
$order.after($('<span>', {'class': 'order'}).text($order.val()))
278278
.after($('<i>', {'class': 'fa fa-fw fa-lg fa-ellipsis-v'}));
279279

280-
var $opts = $tr.find('input').slice(2, 6);
280+
var $opts = $tr.find('input').slice(2, 4);
281281
var $files = $tr.find('select').slice(1, 3);
282282
var $checker = $files.end().last();
283283
$tr.find('select[id$=type]').change(function () {

0 commit comments

Comments
 (0)