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

Force the loading of all dependent JavaScript into the host application. #40

Closed
mgurley opened this issue Sep 6, 2014 · 0 comments
Closed

Comments

@mgurley
Copy link
Member

mgurley commented Sep 6, 2014

Currently the gem requires jquery, jquery_ujs and jquery.ui.all in its own application.js. This should be the responsibility of the host application. Maybe there is something like bundler for JavaScript, but for now remove and add instructions that these items must be required within the application.js of the host application.

Discovered this because a host application was also requiring jquery_ujs in its own application.js and the double inclusion was causing remote forms to be submitted twice because of double binding of events.

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

1 participant