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.
Problem/Motivation
The module try to use the chosen.css
file from the library folder. However, when the library is downloaded using bower, it does not contain this file. Only the compressed chosen.min.css
is available. Because of this, while the JavaScript for the module run and alter the selects on the page, they are unusable.
Proposed resolution
In chosen_library()
, check if the chosen.css
file exists and fall back to chosen.min.css
of it doesn't.
Comment | File | Size | Author |
---|---|---|---|
#2 | chosen.min_.css-2492251-2.patch | 638 bytes | brockfanning |
Comments
Comment #1
sseguin CreditAttribution: sseguin commentedHere is a patch implementing the suggested solution.
Comment #2
brockfanning CreditAttribution: brockfanning commentedHere's a reroll for 7.x-2.0.
Comment #4
nagy.balint CreditAttribution: nagy.balint commentedThanks! Committed.