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

jquery-rails Including Unwanted jquery-ui.js File #126

Closed
dsilver829 opened this issue May 28, 2013 · 2 comments
Closed

jquery-rails Including Unwanted jquery-ui.js File #126

dsilver829 opened this issue May 28, 2013 · 2 comments

Comments

@dsilver829
Copy link

The jquery-ui.js file from the jquery-rails gem is appearing in a <script> tag in my header files, and I can't figure out why. I'm trying to use the jquery-ui-rails gem, so that I can get the latest version of jQueryUI.

Here is my application.js file:

//= require moment.min.js
//= require nicEdit.js
//= require jquery
//= require jquery_ujs
//= require jquery.ui.all
//= require_tree .

Any idea why jquery-ui.js would still appear in my headers? What other information can I provide?

I've opened a StackOverflow thread, as well. In case this is just my mistake.

@dsilver829
Copy link
Author

I'm not positive this is right, but it looks like ActiveAdmin is has a //= require jquery-ui line, which is pulling the jquery-ui.js file from jquery-rails.

If that's right, then jquery-rails, jquery-ui-rails, and active_admin can't all work together.

I think that goes back to Issue #46.

@JangoSteve
Copy link
Member

I just released the new jquery-rails v3.0.0 which removes jQuery UI from the gem entirely.

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

2 participants