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
On click disableFacet() is called to prevent further clicking before the ajax completes. Attribute "disabled" is not properly assigned due to incorrect selector 'input.facetapi-checkbox'.
On the other hand, the click handler is applied to all 'input.facets-checkbox', instead of items in the current facet.
Proposed resolution
Change the selectors to be correc according to the function documentation.
Comment | File | Size | Author |
---|---|---|---|
#2 | checkboxes_not_disabled-2950884-2.patch | 554 bytes | RumyanaRuseva |
Comments
Comment #2
RumyanaRuseva CreditAttribution: RumyanaRuseva at FFW commentedHere is a patch.
Comment #4
borisson_Looks great, there seems to be a general problem with the tests, but I think we can rtbc this one already.
Comment #6
StryKaizer