Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
As part of #1238484: Ability to mark the form buttons to be of a specific type (so that they can be styled differently), the buttons.png file was removed, but .ui-slider .ui-slider-handle
still references it in jquery.ui.theme.css
The effect is that when trying to place a jQuery UI slider in Seven:
- a
GET http://mysite/core/themes/seven/images/buttons.png 404 (Not Found)
error message is thrown in the browser console, and the slider handle retains a transparent background. - a 'page not found' warning message is logged in the watchdog for
core/themes/seven/images/buttons.png
Proposed resolution
Replace the reference to url(images/buttons.png)
with a plain background color.
Comment | File | Size | Author |
---|---|---|---|
#6 | after-2.png | 1.31 KB | mondrake |
#6 | after-1.png | 891 bytes | mondrake |
#6 | before-2.png | 1.29 KB | mondrake |
#6 | before-1.png | 763 bytes | mondrake |
#2 | buttons-png_1999654_2.patch | 469 bytes | mondrake |
Comments
Comment #1
mondrakeChanging priority to normal.
Comment #1.0
mondrakemore info
Comment #2
mondrakeThis patch replaces the reference to
url(images/buttons.png)
with a plain background color.Comment #3
mondrakeUpdated summary
Comment #4
zaporylieChecked, I believe this patch is good enough.
Comment #5
webchickCould we get a quick before/after screenshot on this? I can't tell exactly how to test this.
Comment #6
mondrakeHere we go.
Before:
After:
Comment #7
webchickGotcha. Well that seems fine, and much better than a 404. :) Thanks!
Committed and pushed to 8.x.