You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed your guide but I can't seem to determine what is wrong. I've tried disabling it in rails-ajax-config.rb and it worked. There are no JS errors whatsoever.
So apparently, it is rendering but not doing the JS stuff in my new.js.haml
Processing by SomethingsController#new as JS
My controller action comment is here...
[RailsAjax] render: options=[] block?false flash=#<ActionDispatch::Flash::FlashHash:0x00000007dd98f0 @discard=#<Set: {}>, @flashes={}, @now=nil> | Normalized arguments: {}
Rendered somethings/_modal.html.haml (11.0ms)
Rendered somethings/new.js.haml (14.8ms)
The text was updated successfully, but these errors were encountered:
katpadi
changed the title
Bootstrap modal not working when rails-ajax is enabled
preventing my JS codes from happening when rails-ajax is enabled
Apr 11, 2015
Hi! I had a lot of problems with the rails-ajax gem, so I decided not to use it anymore in my projects :( I recommend you to use a frontend framework for these things. Anyway, the assets-pipeline in rails is always hard to configure. Good luck with your project :)
I followed your guide but I can't seem to determine what is wrong. I've tried disabling it in rails-ajax-config.rb and it worked. There are no JS errors whatsoever.
So apparently, it is rendering but not doing the JS stuff in my new.js.haml
The text was updated successfully, but these errors were encountered: