This commit is contained in:
Jun Pataleta 2023-05-03 20:36:39 +08:00
commit aa011d149e

View File

@ -4542,7 +4542,10 @@ class assign {
'context'=>$this->get_context(), 'context'=>$this->get_context(),
'markingworkflow'=>$markingworkflow, 'markingworkflow'=>$markingworkflow,
'markingallocation'=>$markingallocation); 'markingallocation'=>$markingallocation);
$classoptions = array('class'=>'gradingbatchoperationsform'); $classoptions = [
'class' => 'gradingbatchoperationsform',
'data-double-submit-protection' => 'off',
];
$gradingbatchoperationsform = new mod_assign_grading_batch_operations_form(null, $gradingbatchoperationsform = new mod_assign_grading_batch_operations_form(null,
$batchformparams, $batchformparams,
@ -5020,7 +5023,11 @@ class assign {
'context'=>$this->get_context(), 'context'=>$this->get_context(),
'markingworkflow'=>$this->get_instance()->markingworkflow, 'markingworkflow'=>$this->get_instance()->markingworkflow,
'markingallocation'=>$markingallocation); 'markingallocation'=>$markingallocation);
$formclasses = array('class'=>'gradingbatchoperationsform'); $formclasses = [
'class' => 'gradingbatchoperationsform',
'data-double-submit-protection' => 'off'
];
$mform = new mod_assign_grading_batch_operations_form(null, $mform = new mod_assign_grading_batch_operations_form(null,
$batchformparams, $batchformparams,
'post', 'post',