Skip to content

Commit

Permalink
Merge branch 'MDL-77398' of https://github.com/paulholden/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
junpataleta committed May 3, 2023
2 parents 4bcb6a1 + 426b5ae commit aa011d1
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions mod/assign/locallib.php
Expand Up @@ -4542,7 +4542,10 @@ protected function view_grading_table() {
'context'=>$this->get_context(),
'markingworkflow'=>$markingworkflow,
'markingallocation'=>$markingallocation);
$classoptions = array('class'=>'gradingbatchoperationsform');
$classoptions = [
'class' => 'gradingbatchoperationsform',
'data-double-submit-protection' => 'off',
];

$gradingbatchoperationsform = new mod_assign_grading_batch_operations_form(null,
$batchformparams,
Expand Down Expand Up @@ -5020,7 +5023,11 @@ protected function process_grading_batch_operation(& $mform) {
'context'=>$this->get_context(),
'markingworkflow'=>$this->get_instance()->markingworkflow,
'markingallocation'=>$markingallocation);
$formclasses = array('class'=>'gradingbatchoperationsform');
$formclasses = [
'class' => 'gradingbatchoperationsform',
'data-double-submit-protection' => 'off'
];

$mform = new mod_assign_grading_batch_operations_form(null,
$batchformparams,
'post',
Expand Down

0 comments on commit aa011d1

Please sign in to comment.