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.
Found a weird bug. When an exposed filter identifier is set to "length" the slider won't appear.
Comment | File | Size | Author |
---|---|---|---|
#1 | length_id_filter-2163135-1.patch | 975 bytes | sawabe |
Comments
Comment #1
sawabe CreditAttribution: sawabe commentedHi there,
I've discovered that you can catch this bug in old jQuery version (at least jQuery 1.4). It actually uses $.each (http://api.jquery.com/jquery.each) and it works just fine in modern versions. To get it work with old versions we need to replace $.each with pure for/in loop from Javascript.
Comment #2
mikeker CreditAttribution: mikeker commentedUnless someone can give me a specific browser and version (that Drupal supports) that $.each() doesn't work in, I'm not willing to fix.
Sorry.
Comment #3
mikeker CreditAttribution: mikeker commentedBut thank you, @sawabe, for finding the root cause!