v8.x-6.20 have AJAX bug, when I try to use Gallery element on content page.
I prepare patch for this.

Comments

AHBJCB created an issue. See original summary.

ahbjcb’s picture

/themes/contrib/vartheme_bs4/vartheme_bs4.libraries.yml

# js/misc/ajax.js: {}

andrew answer’s picture

Title: ajax failure » Ajax failure: Drupal.ajax is undefined
Version: 8.x-6.9 » 8.x-6.20
Issue summary: View changes
StatusFileSize
new536 bytes
andrew answer’s picture

andrew answer’s picture

Status: Active » Needs review
rajab natshah’s picture

Title: Ajax failure: Drupal.ajax is undefined » Fix Ajax failure: Drupal.ajax is undefined

rajab natshah’s picture

Thank you, AHBJCB for reporting
Thanks, Andrey for patching and following up on the other related issue
#3175989: Fix not visible Media Gallery

Committed ...
Noticed the issue in Drupal 8.9.x and Drupal 9.0.x
They stopped calling Drupal.ajax by default it was working in Drupal 8.8.x

A Quick fix release will follow after 1 round of testing in both versions with deprecations

rajab natshah’s picture

Assigned: mohammed j. razem » Unassigned
rajab natshah’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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