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.
The category filter in the inline editor stops functioning when the following steps are taken:
- Select a context to edit
- Select a region to add a block (dialog window opens)
- Select category by which to filter (works as expected)
- Close dialog window
- Click 'done' to stop the context from being edited
- Select a different context to edit
- Select a region to add a block (dialog window opens)
- Select category by which to filter (does not work)
The problem is the .click
function in initRegions
. The previously attached event handler needs to be removed, otherwise each successive attempt to open a new context causes another event to be added.
See the attached patch for review. Thanks.
Comment | File | Size | Author |
---|---|---|---|
context-fix_category_filter_multiple-1.patch | 881 bytes | ron_s | |
Comments