Commit ebde3f5a authored by Robert Lyon's avatar Robert Lyon

Bug 1689923: Not using the default presubmitcallback

That turn the submit button into 'Processing...'

Instead we'll ignore the presubmit option altogether

behatnotneeded

Change-Id: Iccd4cac7fcc5e2161bedf2e5f37e4466f837f504
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent be267176
......@@ -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