Skip to content

Conversation

@drgrice1
Copy link
Member

If there are more than one submitAnswers button on a gateway quiz page, choose the last one to use for the confirmation dialog and other things done in the gateway.js file. This fixes a javascript error caused by things like the problemPanic.pl macro adding another submitAnswers button. It is highly unlikely that the problemPanic.pl macro will work as expected in a gateway quiz. This doesn't fix that.

See issue #1699.

…wers.

If there are more than one submitAnswers button on a gateway quiz page,
choose the last one to use for the confirmation dialog and other things
done in the gateway.js file.  This fixes a javascript error caused by
things like the problemPanic.pl macro adding another submitAnswers
button.  It is highly unlikely that the problemPanic.pl macro will work
as expected in a gateway quiz.  This doesn't fix that.

See issue openwebwork#1699.
Copy link
Member

@drdrew42 drdrew42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@pstaabp pstaabp merged commit 8ddfecf into openwebwork:WeBWorK-2.17 May 31, 2022
@drgrice1 drgrice1 deleted the gateway-choose-last-submit branch June 1, 2022 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants