Open joseramonc opened 6 years ago
Ah. They really did change a lot in Rails 5.1. We'll try to get this resolved
In rails-ujs (actionview/app/assets/javascripts/features/confirm.coffee) they bind an anonymous function to document that calls a local allowAction and not $.rails.allowAction (or Rails.allowAction).
It'll be hard to get this fixed without a change in that file.
More to follow
Did research: we should use something other then data-confirm (e.g. data-confirm-bs)
Rails 5.1 shows default confirm dialog