-
Notifications
You must be signed in to change notification settings - Fork 124
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
jQuery-ujs support #86
Comments
#For anyone experiencing a similar issue, a workaround is:
|
Please provide an example of your usage. Because the confirmation doesn't do anything on itself, it just blocks the click event and triggers a new click event when the Ok button clicked. |
I am using jquery-ujs as my delete button, which is like this: |
This is ultra specific, I think your solution is the best. |
Or I can add a "confirmationEvent" option, by default it will be "click" (or the value of "trigger" for BT4) and is customisable. |
That works for me :) |
Available in 2.4.2 and 4.0.1 |
It seems that this change breaks functionality with bootstrap v3.3.7 and jQuery v3.3.1. |
Can this be updated to support jQuery-ujs. The click handler for that is
click.rails
but this only triggersclick
- as such, the actions are being submitted throughGET
instead ofDELETE
.The text was updated successfully, but these errors were encountered: