Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
rails_ujs not trigger events when we replace dom. #30692
When we send remote form and render js.erb that will replace current form with new one (for example validation errors) we are not longer able to observer ajax:complete event because original form is removed from dom end event triggered by rails wont work.
Before removing jquery there was possibility to observer ajaxStop event now this is not longer working.
Maybe there should be also global event for ajax:complete?
This issue has been automatically marked as stale because it has not been commented on for at least three months.
Anyone still working on this?
In my case I want to use remote pagination. But when I replace the paginator elements in my .js.erb file,
I'm showing a loading animation when