jquery-ui-themes-rails icon indicating copy to clipboard operation
jquery-ui-themes-rails copied to clipboard

Paths to theme images in style sheets must match the location of the images

Open donv opened this issue 8 years ago • 2 comments

Hi!

Thanks for the gem update!

Looks like the version has snuck into the image paths in the style sheets again. I suspect the same issue as issue #5 .

Running

grep -R "jquery-ui/1.11.4/" `bundle show jquery-ui-themes`

lists 384 references from style sheets to this versioned directory.

How are these URLs inserted into the style sheets?

donv avatar May 09 '16 12:05 donv

Any update on this?

I'm also getting routing errors having just updated from jquery-ui-themes-0.0.11 to jquery-ui-themes-0.0.12. because the image_path in the CSS files is including the version number:

ActionController::RoutingError (No route matches [GET] "/assets/jquery-ui/1.11.4/overcast/ui-bg_inset-hard_75_999999_1x100.png"):

Going back to 0.0.11 for now.

enwood avatar Jun 06 '16 20:06 enwood

Can confirm this problem still existing. Just upgraded to 0.0.12 on Rails 5.0 and some asset links were broken, giving these errors:

ActionController::RoutingError (No route matches [GET] "/images/jquery-ui/1.11.4/ui-lightness/ui-icons_ffffff_256x240.png"):

Gem jquery-rails, jquery-ui-rails and jquery-ui-themes are present (in this order) in the Gemfile and application.css.scss has *= require jquery-ui/ui-lightness

Going back to 0.0.11 fixes this problem for me, but I do not know if there are compatibility issues with the other (newer) versions of jquery gems.

cdekker avatar Aug 16 '16 13:08 cdekker