mirror of
https://github.com/moodle/moodle.git
synced 2025-03-22 00:20:37 +01:00
MDL-77398 mod_assign: disable form submit protection for batch options.
This commit is contained in:
parent
b2d0712748
commit
1e16260ba7
@ -4545,7 +4545,10 @@ class assign {
|
||||
'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,
|
||||
@ -5023,7 +5026,11 @@ class assign {
|
||||
'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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user