Commit 4b6ee95f authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review

Merge "Bug 1689923: Not using the default presubmitcallback"

parents c5c96698 ebde3f5a
......@@ -972,6 +972,8 @@ class ArtefactTypeAnnotationfeedback extends ArtefactType {
'class' => 'btn-default'
);
$form['elements']['submit'] = $submit;
// Dont use the 'Processing...' bit on the submit button
$form['presubmitcallback'] = '';
// Remove the 'assessment' option as we want that independent of submitting feedback here
unset($form['elements']['assessment']);
$addannotationfeedbackform = pieform($form);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment