Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix confirmation modal on reject result #3241

Merged
merged 11 commits into from
Apr 14, 2023

Conversation

ndricimrr
Copy link
Contributor

@ndricimrr ndricimrr commented Mar 29, 2023

Description
Since there is nothing done upon confirmation modal rejection, we ignore rejection handlers. However they throw a harmless exception which pollutes the console. This PR adds empty handlers to avoid such exceptions from being thrown.

Changes proposed in this pull request:

Related issue(s)

Fixes #3229

@ndricimrr ndricimrr added the WIP Work in progress label Mar 29, 2023
@ndricimrr ndricimrr marked this pull request as ready for review April 3, 2023 16:47
@ndricimrr ndricimrr removed the WIP Work in progress label Apr 3, 2023
@JohannesDoberer JohannesDoberer self-assigned this Apr 4, 2023
Copy link
Contributor

@JohannesDoberer JohannesDoberer left a comment

Choose a reason for hiding this comment

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

LGTM

@ndricimrr ndricimrr merged commit 5069045 into main Apr 14, 2023
@ndricimrr ndricimrr deleted the 3229-fix-console-error-no-confirmation-dialog branch April 14, 2023 11:54
@JohannesDoberer JohannesDoberer added the bug Something isn't working label May 2, 2023
@JohannesDoberer JohannesDoberer mentioned this pull request May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Console error on clicking on "No" in the confirmation dialog
2 participants