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

Data confirmation cancel button not working #1803

Closed
Haseeb717 opened this issue Oct 18, 2020 · 2 comments
Closed

Data confirmation cancel button not working #1803

Haseeb717 opened this issue Oct 18, 2020 · 2 comments
Labels
bug breakages in functionality that is implemented

Comments

@Haseeb717
Copy link

<%= link_to( t(resource.hidden ? "Unhide" : "Hide"), [namespace, resource], class: "text-color-red", method: :delete, data: { confirm: t("administrate.actions.confirm") } ) %>

I have link in administrate view and it works fine but issue is that when I click on cancel button of confirmation-box it takes to detail page instead of closing the box

@Haseeb717 Haseeb717 added the bug breakages in functionality that is implemented label Oct 18, 2020
@pablobm
Copy link
Collaborator

pablobm commented Oct 22, 2020

Can you give more detail, please? For example, in which view do you have this link? What's the context? Do you have any JS of your own running?

@pablobm
Copy link
Collaborator

pablobm commented Apr 6, 2023

Closing due to lack of activity

@pablobm pablobm closed this as completed Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug breakages in functionality that is implemented
Projects
None yet
Development

No branches or pull requests

2 participants