Skip to content

Conversation

VilppeRiskidev
Copy link
Collaborator

No description provided.

@VilppeRiskidev VilppeRiskidev self-assigned this Nov 7, 2024
Copy link
Collaborator

@anttimaki anttimaki left a comment

Choose a reason for hiding this comment

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

Brownie points for the separation of commits 👍🏻

Create/rename forms can be submitted with enter, and as they do an extra check before calling the method that sets the xInProgress variable, they can be triggered twice. I realise that double-submit with enter is less likely than with a mouse click, but for completeness sake we could start the keyup.enter methods with !xInProgress?

@VilppeRiskidev VilppeRiskidev force-pushed the disable-modal-buttons-when-in-progress branch from 0dcb2b2 to 971b048 Compare November 10, 2024 19:42
Copy link
Collaborator

@anttimaki anttimaki left a comment

Choose a reason for hiding this comment

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

Not exactly what I suggested but works for me so let's go.

@anttimaki anttimaki merged commit e56097f into develop Nov 11, 2024
5 checks passed
@anttimaki anttimaki deleted the disable-modal-buttons-when-in-progress branch November 11, 2024 07:26
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