Hi, I am new around here. I have posted the same question in SO with no answer, so I will try it here:
I want to change the default browser confirmation in the destroy action to a Bootstrap modal window instead. I found this implementation, which I needed to change to conform with Bootstrap 3 modal HTML. Unfortunately, when I click "delete", nothing happens. I tried to put remote: true in the destroy action link in the view and respond to format.js in the destroy action in the controller.
I also looked here and here, but could not find a way to apply the solution to my code. To not duplicate things, I won't duplicate all the code I pasted in the original link: http://stackoverflow...-the-controller
If someone can help the destroy action to work in the modal, please let me know. Any hint is appreciated, I am completely stuck.