Skip to content

Fix "Submit Answer For" form submission#5574

Merged
ThiefMaster merged 1 commit into
indico:masterfrom
duartegalvao:fix-agreements
Nov 21, 2022
Merged

Fix "Submit Answer For" form submission#5574
ThiefMaster merged 1 commit into
indico:masterfrom
duartegalvao:fix-agreements

Conversation

@duartegalvao

Copy link
Copy Markdown
Member

This PR fixes a bug that made the "Submit" button always disabled in the "Submit Answer For" dialog for Agreements.

The bug was caused by the recent change of i-buttons from <a> to <button> (#5545), which caused the custom script in this form to interpret the "Cancel" button as one of the inputs to check. The check always failed because the value of the button was interpreted as false.

@ThiefMaster ThiefMaster merged commit c73ca34 into indico:master Nov 21, 2022
@duartegalvao duartegalvao deleted the fix-agreements branch November 21, 2022 14:13
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.

2 participants