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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

joelstein’s picture

Status: Active » Needs review
FileSize
640 bytes
joelstein’s picture

Issue summary: View changes
joelpittet’s picture

Issue tags: +Quick fix

Thanks for this, I'd RTBC this but don't currently use IPE... so maybe someone can confirm and RTBC quick fix.

Nitebreed’s picture

Status: Needs review » Reviewed & tested by the community

The error I initially got was a little different:
TypeError: Drupal.Panels is undefined

But this patch fixes it for me

  • japerry committed 3d91448 on 7.x-3.x authored by joelstein
    Issue #2505641 by joelstein: Panels base JS needs to be added for Panels...
japerry’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for the report, looks good -- fixed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.