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.
When opening the add content modal with Panels IPE, and then selecting a category, a new JS error has appeared:
Cannot read property 'AddContentModalQuickFilter' of undefined
This was introduced with #2011814: Add a JS quick filter to the add content modal dialog.
The fix is easy: include panels-base.js when including Panels IPE assets.
Comment | File | Size | Author |
---|---|---|---|
#1 | panels-ipe-panels-base-js-2505641-1.patch | 640 bytes | joelstein |
Comments
Comment #1
joelstein CreditAttribution: joelstein commentedComment #2
joelstein CreditAttribution: joelstein commentedComment #3
joelpittetThanks for this, I'd RTBC this but don't currently use IPE... so maybe someone can confirm and RTBC quick fix.
Comment #4
NitebreedThe error I initially got was a little different:
TypeError: Drupal.Panels is undefined
But this patch fixes it for me
Comment #6
japerryThanks for the report, looks good -- fixed.