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

Page deletion cannot be cancelled #5338

Closed
DerH4NNES opened this issue Sep 7, 2023 · 1 comment
Closed

Page deletion cannot be cancelled #5338

DerH4NNES opened this issue Sep 7, 2023 · 1 comment

Comments

@DerH4NNES
Copy link

Hi,

when i create a new page with inner elements in my wizard form and try to delete, then i've got a browser dialog.
When i click on Cancel, the page will be deleted. I tried it with a few versions.

Version reference: v4.14.11

Steps to reproduce:

  • Create a new wizard form with two pages
  • Add one or more components to second page
  • Click on remove icon
  • Click on cancel in following dialog.

Expected behavior:

  • Click on "OK" removes page
  • Click on "Cancel" doesnt removes page

I read the src code a few ours and saw that the remove icon has two on click event listeners.

WebFormBuilder:1038-1074 [Delete of panel component with confirm dialog]
Executed by WebFormBuilder:415

WizardBuilder:42-52 [Delete page without any confirm dialog]
Executed by hook attachPanel

@DerH4NNES DerH4NNES changed the title Page deletion cannot be aborted Page deletion cannot be cancelled Sep 7, 2023
@DerH4NNES
Copy link
Author

Seems to be fixed in 4.15

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

No branches or pull requests

1 participant