Skip to content
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

Remove dependency on jQuery #92

Open
piedoom opened this issue Jul 16, 2017 · 3 comments
Open

Remove dependency on jQuery #92

piedoom opened this issue Jul 16, 2017 · 3 comments

Comments

@piedoom
Copy link

piedoom commented Jul 16, 2017

As of Rails 5.1, jQuery is no longer needed and Rails UJS is available without any dependencies. It would be great to drop the jQuery dependency and just use plain JS.

@ncri
Copy link
Owner

ncri commented Aug 20, 2017

Yeah, I would like that too. Pull requests welcome. :)

@srikanthcx
Copy link

srikanthcx commented Feb 3, 2019

Getting below error, can i get a quick solution for this
$.rails.allowAction is not a function

I am using rails-ujs instead of jquery_ujs

@ncri
Copy link
Owner

ncri commented Mar 3, 2019

@srikanthcx A quick hack would be to define $.rails.allowAction somewhere and make it return true.
It was added in this commit to support confirm dialogues when removing nested fields: 3764936

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants